package
0.0.0-20240905164044-20daea55394a
Repository: https://github.com/trustbloc/wallet-sdk.git
Documentation: pkg.go.dev

# Functions

NewIssuerInitiatedInteraction creates a new OpenID4CI IssuerInitiatedInteraction.
NewWalletInitiatedInteraction creates a new OpenID4CI WalletInitiatedInteraction.
WithAttestationVC is an option for the RequestCredentialWithPreAuth method that allows you to specify attestation VC, which may be required by the issuer.
WithIssuerState is an option for the CreateAuthorizationURL method that specifies an issuer state to be included in the authorization URL.
WithOAuthDiscoverableClientIDScheme is an option for the CreateAuthorizationURL method that will cause the OAuth Discoverable Client ID scheme to be specified in the authorization URL.
WithPIN is an option for the RequestCredentialWithPreAuth method that allows you to specify a PIN, which may be required by the issuer.
WithScopes is an option for the createAuthorizationURL method that allows scopes to be passed in.

# Constants

Constants' names and reasons are obvious, so they do not require additional comments.
Constants' names and reasons are obvious, so they do not require additional comments.
nolint:gosec,lll //false positive, can't shorten.
Constants' names and reasons are obvious, so they do not require additional comments.
Constants' names and reasons are obvious, so they do not require additional comments.
nolint:gosec,nolintlint.
nolint:gosec,nolintlint.
nolint:gosec,nolintlint.
Constants' names and reasons are obvious, so they do not require additional comments.
Constants' names and reasons are obvious, so they do not require additional comments.
Constants' names and reasons are obvious, so they do not require additional comments.
nolint:gosec //false positive.
Constants' names and reasons are obvious, so they do not require additional comments.
nolint:gosec //false positive.
nolint:gosec,lll //false positive, can't shorten.
Constants' names and reasons are obvious, so they do not require additional comments.
Constants' names and reasons are obvious, so they do not require additional comments.
Constants' names and reasons are obvious, so they do not require additional comments.
Constants' names and reasons are obvious, so they do not require additional comments.
Constants' names and reasons are obvious, so they do not require additional comments.
Constants' names and reasons are obvious, so they do not require additional comments.
Constants' names and reasons are obvious, so they do not require additional comments.
Constants' names and reasons are obvious, so they do not require additional comments.
Constants' names and reasons are obvious, so they do not require additional comments.
nolint:gosec,lll //false positive, can't shorten.
Constants' names and reasons are obvious, so they do not require additional comments.
Constants' names and reasons are obvious, so they do not require additional comments.
Constants' names and reasons are obvious, so they do not require additional comments.
Constants' names and reasons are obvious, so they do not require additional comments.
Constants' names and reasons are obvious, so they do not require additional comments.
Constants' names and reasons are obvious, so they do not require additional comments.
Constants' names and reasons are obvious, so they do not require additional comments.
Constants' names and reasons are obvious, so they do not require additional comments.
nolint:gosec //false positive.
Constants' names and reasons are obvious, so they do not require additional comments.
nolint:gosec,lll //false positive, can't shorten.
Constants' names and reasons are obvious, so they do not require additional comments.
nolint:gosec,lll //false positive, can't shorten.
Constants' names and reasons are obvious, so they do not require additional comments.
Constants' names and reasons are obvious, so they do not require additional comments.
nolint:gosec,lll //false positive, can't shorten.
Constants' names and reasons are obvious, so they do not require additional comments.
Constants' names and reasons are obvious, so they do not require additional comments.
Constants' names and reasons are obvious, so they do not require additional comments.
Constants' names and reasons are obvious, so they do not require additional comments.
Constants' names and reasons are obvious, so they do not require additional comments.
Constants' names and reasons are obvious, so they do not require additional comments.
Constants' names and reasons are obvious, so they do not require additional comments.
Constants' names and reasons are obvious, so they do not require additional comments.

# Structs

Acknowledgment represents an object that allows to acknowledge the issuer the user's accepted or rejected credential.
AuthorizationCodeGrantParams represents an issuer's authorization code grant parameters.
AuthorizeResult is the object returned from the Client.Authorize method.
ClientConfig contains the various parameters for an OpenID4CI Interaction.
CredentialOffer represents the Credential Offer object as defined in https://openid.github.io/OpenID4VCI/openid-4-verifiable-credential-issuance-wg-draft.html#section-4.1.1.
CredentialResponse is the object returned from the Client.Callback method.
Header represents an HTTP header.
IssuerInitiatedInteraction represents a single issuer-instantiated OpenID4CI interaction between a wallet and an issuer.
IssuerTrustInfo represent issuer trust information.
PreAuthorizedCodeGrantParams represents an issuer's pre-authorized code grant parameters.
SupportedCredential represents a specific credential (type and format) that an issuer can issue.
TxCode is a code intended to bind the pre-authorized code to a certain transaction to prevent replay attack.
WalletInitiatedInteraction represents a single wallet-instantiated OpenID4CI interaction between a wallet and an issuer.

# Type aliases

CreateAuthorizationURLOpt is an option for the CreateAuthorizationURL method.
EventStatus used to acknowledge issuer that client accepts or rejects credentials.
RequestCredentialWithPreAuthOpt is an option for the RequestCredentialWithPreAuth method.