BuildClientAttestationPoPJwt

Functions

Link copied to clipboard
suspend operator fun invoke(signJwt: SignJwtFun<JsonWebToken>, audience: String, nonce: String? = null, randomSource: RandomSource = RandomSource.Secure, issuedAt: Instant = Clock.System.now().truncateToSeconds()): JwsCompactTyped<JsonWebToken>

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