Functions
retrieveCredentialsUsingAuthorizationSession
Retrieve credentials using an AuthorizationSession obtained from an authorization-code flow.
Signature
function retrieveCredentialsUsingAuthorizationSession(
options: RetrieveCredentialsUsingAuthorizationSessionOptions
): Promise<Result<RetrieveCredentialsResponse, MobileCredentialHolderError<InvalidLicense | RedirectUriNotFound | ConnectivityError | FailedToRetrieveCredentials | InvalidWalletAttestation | InvalidCredentialOffer | UserAuthenticationOnDeviceNotSetup | UserAuthenticationFailed | AuthenticationCanceled | UserAuthenticationBiometryLockout>>>Parameters
Prop
Type
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 offer covered. 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?