discover Credential Offer
Discover a credential offer.
Retrieves the metadata of the credentiaIssuer, such as authorization and credentials endpoints. This data is required to start the credentials issuance workflow.
Return
Information needed to retrieve the credentials from the issuer as an instance of DiscoveredCredentialOffer
Parameters
URL-encoded credential offer, refer to credential offer. Currently only offer by value is supported.
Throws
If the SDK API is called before the SDK is initialised.
If the CredentialOffer url does not contain any query parameters.
If the CredentialOffer is not part of the issuer's metadata.
If IssuerMetadataService call failed.
If no supported credentials were found.
If there is a connectivity issue while requesting the authorisation object.
If CredentialOffer is invalid.