Oidc Siop Protocol
class OidcSiopProtocol(holder: Holder? = null, verifier: Verifier? = null, agentPublicKey: JsonWebKey, jwsService: JwsService, verifierJwsService: VerifierJwsService, relyingPartyChallenge: String = uuid4().toString(), walletUrl: String = "https://wallet.a-sit.at/mobile", relyingPartyUrl: String = "https://wallet.a-sit.at/verifier", timeLeewaySeconds: Long = 300, clock: Clock = Clock.System)
Combines Verifiable Presentations with OpenId Connect Implements OIDC for VP as well as SIOP V2.
The verifier creates the Authentication Request, and the holder creates the Authentication Response.
Constructors
Link copied to clipboard
fun OidcSiopProtocol(holder: Holder? = null, verifier: Verifier? = null, agentPublicKey: JsonWebKey, jwsService: JwsService, verifierJwsService: VerifierJwsService, relyingPartyChallenge: String = uuid4().toString(), walletUrl: String = "https://wallet.a-sit.at/mobile", relyingPartyUrl: String = "https://wallet.a-sit.at/verifier", timeLeewaySeconds: Long = 300, clock: Clock = Clock.System)
Types
Functions
Link copied to clipboard
Creates a OIDC AuthenticationRequest URL to call the Wallet Implementation (acting as SIOP V2)
Link copied to clipboard
Pass in the serialized AuthenticationRequest to create an AuthenticationResponse
Link copied to clipboard
Validates the AuthenticationResponse from the wallet