light-mode-image
Learn
Functions

retrieveCredentialsUsingAuthorizationSession

Retrieve credentials using an AuthorizationSession obtained from an authorization-code flow.

Signature

Parameters

Returns

Promise<Result<RetrieveCredentialsResponse, MobileCredentialHolderError<InvalidLicense | RedirectUriNotFound | ConnectivityError | FailedToRetrieveCredentials | InvalidWalletAttestation | InvalidCredentialOffer | UserAuthenticationOnDeviceNotSetup | UserAuthenticationFailed | AuthenticationCanceled | UserAuthenticationBiometryLockout>>>

A promise that resolves to one RetrieveCredentialItem per credential the SDK requested, which may be more than the offer listed. Individual credentials can fail within an ok result, so check isSuccess on each entry.

Throws

InvalidParams if the provided arguments are missing or invalid.

MobileCredentialHolderErrorType.SdkNotInitialized if the SDK has not been initialized.

How would you rate this page?

On this page