ClientAssertion

class ClientAssertion(val type: String, val assertion: String)

A client_assertion_type and signed client_assertion JWT for JWT-based client authentication (e.g. private_key_jwt), returned by a ClientAssertionProvider.

Deliberately not a data class: assertion is a client credential, and a generated toString() would print it in full on any log/exception-message interpolation or crash report capture.

Constructors

Link copied to clipboard
constructor(type: String, assertion: String)

Properties

Link copied to clipboard

The signed client_assertion JWT.

Link copied to clipboard

The client_assertion_type form parameter, e.g. urn:ietf:params:oauth:client-assertion-type:jwt-bearer.

Functions

Link copied to clipboard
open override fun toString(): String