Skip to content

Support skipExpiryCheck for disclosure requests #8

Description

@rubenhensen

Since irmago v0.14.0, disclosure requests accept an optional `skipExpiryCheck` field — a list of credential type identifiers for which the server should accept disclosed attributes from already-expired credentials.

Useful for flows that need to disclose attributes from a credential that has just expired but is still acceptable for the application's use case.

Proposed surface

Add an optional `skip_expiry_check: Option<Vec>` field to `DisclosureRequestBuilder` (and the signature builder, which is a disclosure request under the hood), with a corresponding builder method.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions