invoke

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>(source)

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

Parameters

clientId

OAuth 2.0 client ID of the wallet

clientKey

key to be attested, i.e. included in a ConfirmationClaim

walletName

identifier of the Wallet Solution.

walletVersion

version of the Wallet Solution.

walletSolutionCertificationInformation

certification information for the Wallet Solution.

clientStatus

status information for the Wallet Instance Attestation.

walletLink

URL for further information about the Wallet Solution.

lifetime

validity period of the assertion

issuedAt

timestamp to use as the creation timestamp