Simple Authorization Service
Simple authorization server implementation, to be used for CredentialIssuer, when issuing credentials directly from a local dataProvider.
Implemented from OpenID for Verifiable Credential Issuance (https://openid.net/specs/openid-4-verifiable-credential-issuance-1_0.html), Draft 13, 2024-02-08.
Constructors
Properties
Serve this result JSON-serialized under /.well-known/openid-configuration
Used in several fields in IssuerMetadata, to provide endpoint URLs to clients.
Functions
Builds the authentication response. Send this result as HTTP Header Location in a 302 response to the client.
Get the OidcUserInfo associated with the accessToken, that was created before at the Authorization Server.
Provide a pre-authorized code (for flow defined in OID4VCI), to be used by the Wallet implementation to load credentials.
Verifies the authorization code sent by the client and issues an access token. Send this value JSON-serialized back to the client.