ClientAuthenticationService
class ClientAuthenticationService( enforceClientAuthentication: Boolean = false, verifierJwsService: VerifierJwsService = DefaultVerifierJwsService(), verifyClientAttestationJwt: suspend (JwsSigned<JsonWebToken>) -> Boolean = { true })(source)
Simple client authentication service for an OAuth2.0 AS.
Implemented from OAuth 2.0 Attestation-Based Client Authentication
Constructors
Link copied to clipboard
constructor( enforceClientAuthentication: Boolean = false, verifierJwsService: VerifierJwsService = DefaultVerifierJwsService(), verifyClientAttestationJwt: suspend (JwsSigned<JsonWebToken>) -> Boolean = { true })
Functions
Link copied to clipboard
suspend fun authenticateClient(clientAttestation: String?, clientAttestationPop: String?, clientId: String?)
Authenticates the client as defined in OpenID4VC HAIP, i.e. with client attestation JWT