BuildClientAttestationJwt

Functions

Link copied to clipboard
suspend operator fun invoke(signJwt: SignJwtFun<JsonWebToken>, clientId: String, issuer: String? = null, clientKey: JsonWebKey, walletName: String = clientId, walletVersion: String = "unspecified", walletSolutionCertificationInformation: String = "unspecified", clientStatus: ClientStatus = ClientStatus( status = defaultClientStatus(), expiration = Clock.System.now().truncateToSeconds() + 31.days, ), walletLink: String? = null, lifetime: Duration = 60.minutes, clockSkew: Duration = 3.minutes): JwsCompactTyped<JsonWebToken>

Client attestation JWT, issued by the backend service to a client, which can be sent to an OAuth2 Authorization Server if needed, e.g. as HTTP header OAuth-Client-Attestation, see OAuth 2.0 Attestation-Based Client Authentication