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
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