Type alias SendProximityPresentationRequestOptions

SendProximityPresentationRequestOptions: {
    checkStatus?: boolean;
    mobileCredentialRequests: MobileCredentialRequest[];
}

Type declaration

  • Optional Readonly checkStatus?: boolean

    A flag to enable or disable credential status checking.

    When disabled, this bypasses additional verification steps and possible network requests that may be required to determine the credential's status.

    When not supplied, default behavior is to enable status checking. Network requests may be performed to check revocation status.

    The SDK retrieves and caches status list tokens as part of the credential status check. Each status list token contains the following parameters:

    • ttl (Time to Live): Recommended duration the relying party should use a token before retrieving a new one.
    • exp (Expiry): Absolute expiration time after which the token can no longer be used.

    The SDK calculates a nextUpdate as the earlier of:

    • retrieval time + ttl
    • exp

    Then based on the result:

    • If the current time is before nextUpdate, the SDK continues to use the cached token.
    • If the current time is after nextUpdate, it attempts to retrieve a new status list token.

    Offline behavior:

    • If the device is offline, ttl has passed but exp has not, the status will be unknown (as a fresh token cannot be fetched).
    • If exp has passed, the status will be returned as unknown.

    To manage cache proactively:

  • Readonly mobileCredentialRequests: MobileCredentialRequest[]

Generated using TypeDoc