JwtAuthenticationArgs

data class JwtAuthenticationArgs(val audiences: Output<List<String>>? = null, val claims: Output<List<TokenClaimArgs>>? = null, val issuers: Output<List<String>>? = null, val keys: Output<List<Either<EccTokenKeyArgs, RsaTokenKeyArgs>>>? = null, val type: Output<String>) : ConvertibleToJava<JwtAuthenticationArgs>

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

Constructors

Link copied to clipboard
constructor(audiences: Output<List<String>>? = null, claims: Output<List<TokenClaimArgs>>? = null, issuers: Output<List<String>>? = null, keys: Output<List<Either<EccTokenKeyArgs, RsaTokenKeyArgs>>>? = null, type: Output<String>)

Properties

Link copied to clipboard
val audiences: Output<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
val claims: Output<List<TokenClaimArgs>>? = null

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: Output<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
val keys: Output<List<Either<EccTokenKeyArgs, RsaTokenKeyArgs>>>? = null

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
val type: Output<String>

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

Functions

Link copied to clipboard
open override fun toJava(): JwtAuthenticationArgs