light-mode-image
Learn
Functions

getCredential

Retrieve a specific credential by id from storage.

Retrieve a specific credential by id from storage.

Signature

function getCredential(
  credentialId: string
): Promise<Result<MobileCredential, GetMobileCredentialError>>

Parameters

Prop

Type

Returns

Promise<Result<MobileCredential, GetMobileCredentialError>>

The requested MobileCredential.

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