Functions
retrieveCredentials
Retrieve credentials for a pre-authorized-code credential offer.
Signature
function retrieveCredentials(
options: RetrieveCredentialsOptions
): Promise<Result<RetrieveCredentialsResponse, MobileCredentialHolderError<RetrieveCredentialsErrorTypes>>>Parameters
Prop
Type
Returns
Promise<Result<RetrieveCredentialsResponse, MobileCredentialHolderError<RetrieveCredentialsErrorTypes>>>
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?