Package-level declarations

Types

Link copied to clipboard

Strategy to implement authentication and authorization in SimpleAuthorizationService.

Link copied to clipboard
class OAuth2Client(clientId: String = "https://wallet.a-sit.at/app", redirectUrl: String = "/callback", stateToCodeStore: MapStore<String, String> = DefaultMapStore())

Simple OAuth 2.0 client to authorize the client against an OAuth 2.0 Authorization Server and request tokens.

Link copied to clipboard
class SimpleAuthorizationService(strategy: AuthorizationServiceStrategy, codeService: CodeService = DefaultCodeService(), tokenService: NonceService = DefaultNonceService(), clientNonceService: NonceService = DefaultNonceService(), val publicContext: String = "https://wallet.a-sit.at/authorization-server", authorizationEndpointPath: String = "/authorize", tokenEndpointPath: String = "/token", codeToCodeChallengeStore: MapStore<String, String> = DefaultMapStore(), codeToUserInfoStore: MapStore<String, OidcUserInfoExtended> = DefaultMapStore(), accessTokenToUserInfoStore: MapStore<String, OidcUserInfoExtended> = DefaultMapStore()) : OAuth2AuthorizationServerAdapter

Simple authorization server implementation, to be used for CredentialIssuer, with the actual authentication and authorization logic implemented in strategy.