Package-level declarations
Types
Client authentication service for an OAuth2.0 AS, based on Attestation-Based Client Authentication.
Authenticated OAuth 2.0 client
Provides interface for implementing an OAuth 2.0 Authorization Server, which may be used with an at.asitplus.wallet.lib.oidvci.OAuth2AuthorizationServerAdapter for a at.asitplus.wallet.lib.oidvci.CredentialIssuer.
Strategy to implement authorization for credential requests (with scope or OpenIdAuthorizationDetails) in SimpleAuthorizationService.
Simple bearer token generation (just a nonce) for an OAuth 2.0 authorization server.
Combines simple bearer tokens from BearerTokenGenerationService and BearerTokenVerificationService.
Verifies Bearer tokens that have been generated by BearerTokenGenerationService. This does only work for internal authorization servers, because we could not store the actual user data otherwise.
Handles authenticating the OAuth 2.0 client for an OAuth 2.0 authorization server, see SimpleAuthorizationService and subclasses of this interface.
Extracted information from at.asitplus.openid.AuthenticationRequestParameters, to store what the client has initially requested (which scope and/or authnDetails), and which userInfo is associated with that request.
Simple DPoP token generation for an OAuth 2.0 authorization server, with OpenId4VciAccessToken as payload.
Combines sender-constrained JWT tokens from JwtTokenGenerationService and JwtTokenVerificationService.
Verifies JWT tokens that have been generated by JwtTokenGenerationService, as OpenId4VciAccessToken.
Does not verify the client authentication at all
Simple OAuth 2.0 client to authorize the client against an OAuth 2.0 Authorization Server and request tokens.
Internal class used to store pushed authorization requests created for clients in SimpleAuthorizationService.requestUriToPushedAuthorizationRequest, which are referenced by a request_uri and fetched later on in the process.
Holds information about the HTTP request the client has made, to validate client authentication.
Implements RFC 9449 8.2.: Authorization servers may include a fresh DPoP nonce by including values in HTTP 200 responses
Simple authorization server implementation, to be used for CredentialIssuer, with the actual authentication and authorization logic for credential schemes implemented in strategy.
Strategy to generate access tokens, to use in SimpleAuthorizationService.
Access token service that combines generation and verification, i.e., it is suitable to be used in an implementation of an OAuth 2.0 Authorization Server.
Verifies access tokens and refresh tokens, that may have been generated by a TokenGenerationService, or by any other OAuth 2.0 authorization server.
Self-stated client ID, not verified in any way
Internal class representing issued tokens and tokens presented by clients that have been verified successfully.