Package-level declarations
Types
Link copied to clipboard
data class AuthenticationResponse(val params: AuthenticationResponseParameters, val clientMetadata: RelyingPartyMetadata?, val jsonWebKeys: Collection<JsonWebKey>?)
Intermediate DTO to hold the parsed clientMetadata as well as the created params.
Link copied to clipboard
Possible outcomes of creating the OIDC Authentication Response
Link copied to clipboard
class OidcSiopVerifier(clientIdScheme: OidcSiopVerifier.ClientIdScheme, keyMaterial: KeyMaterial = EphemeralKeyWithoutCert(), verifier: Verifier = VerifierAgent(identifier = clientIdScheme.clientId), jwsService: JwsService = DefaultJwsService(DefaultCryptoService(keyMaterial)), verifierJwsService: VerifierJwsService = DefaultVerifierJwsService(DefaultVerifierCryptoService()), timeLeewaySeconds: Long = 300, clock: Clock = Clock.System, nonceService: NonceService = DefaultNonceService(), stateToNonceStore: MapStore<String, String> = DefaultMapStore(), stateToResponseTypeStore: MapStore<String, String> = DefaultMapStore())
Combines Verifiable Presentations with OpenId Connect. Implements OIDC for VP (2023-04-21) as well as SIOP V2 (2023-01-01).
Link copied to clipboard
class OidcSiopWallet(holder: Holder, agentPublicKey: CryptoPublicKey, jwsService: JwsService, clock: Clock = Clock.System, clientId: String = "https://wallet.a-sit.at/", remoteResourceRetriever: RemoteResourceRetrieverFunction, requestObjectJwsVerifier: RequestObjectJwsVerifier, requestParser: RequestParser = RequestParser(
remoteResourceRetriever = remoteResourceRetriever,
requestObjectJwsVerifier = requestObjectJwsVerifier,
))
Combines Verifiable Presentations with OpenId Connect. Implements OIDC for VP (2023-04-21) as well as SIOP V2 (2023-01-01).
Link copied to clipboard
Implementations need to fetch the url passed in, and return either the body, if there is one, or the HTTP header Location
, i.e. if the server sends the request object as a redirect.
Link copied to clipboard
Implementations need to verify the passed JwsSigned and return its result