JwtAuthenticationResponse

data class JwtAuthenticationResponse(val audiences: List<String>? = null, val claims: List<TokenClaimResponse>? = null, val issuers: List<String>? = null, val keys: List<Either<EccTokenKeyResponse, RsaTokenKeyResponse>>? = null, val type: String)

Properties for access validation based on JSON Web Tokens (JWT).

Constructors

Link copied to clipboard
constructor(audiences: List<String>? = null, claims: List<TokenClaimResponse>? = null, issuers: List<String>? = null, keys: List<Either<EccTokenKeyResponse, RsaTokenKeyResponse>>? = null, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val audiences: List<String>? = null

List of expected token audiences. Token audience is valid if it matches at least one of the given values.

Link copied to clipboard

List of additional token claims to be validated. Token must contains all claims and respective values for it to be valid.

Link copied to clipboard
val issuers: List<String>? = null

List of expected token issuers. Token issuer is valid if it matches at least one of the given values.

Link copied to clipboard

List of keys which can be used to validate access tokens. Having multiple keys allow for seamless key rotation of the token signing key. Token signature must match exactly one key.

Link copied to clipboard

The discriminator for derived types. Expected value is '#Microsoft.VideoAnalyzer.JwtAuthentication'.