BuildClientAttestationJwt

Functions

Link copied to clipboard
suspend operator fun invoke(signJwt: SignJwtFun<JsonWebToken>, clientId: String, clientKey: JsonWebKey, walletName: String = clientId, walletVersion: String = "unspecified", walletSolutionCertificationInformation: String = "unspecified", clientStatus: ClientStatus? = null, walletLink: String? = null, lifetime: Duration = 60.minutes, issuedAt: Instant = Clock.System.now().truncateToSeconds()): 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