Share via


RsaTokenKey Class

Definition

Required validation properties for tokens generated with RSA algorithm.

[Newtonsoft.Json.JsonObject("#Microsoft.VideoAnalyzer.RsaTokenKey")]
public class RsaTokenKey : Microsoft.Azure.Management.VideoAnalyzer.Models.TokenKey
[<Newtonsoft.Json.JsonObject("#Microsoft.VideoAnalyzer.RsaTokenKey")>]
type RsaTokenKey = class
    inherit TokenKey
Public Class RsaTokenKey
Inherits TokenKey
Inheritance
RsaTokenKey
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

RsaTokenKey()

Initializes a new instance of the RsaTokenKey class.

RsaTokenKey(String, AccessPolicyRsaAlgo, String, String)

Initializes a new instance of the RsaTokenKey class.

Properties

Alg

Gets or sets RSA algorithm to be used: RS256, RS384 or RS512. Possible values include: 'RS256', 'RS384', 'RS512'

E

Gets or sets RSA public key exponent.

Kid

Gets or sets JWT token key id. Validation keys are looked up based on the key id present on the JWT token header.

(Inherited from TokenKey)
N

Gets or sets RSA public key modulus.

Methods

Validate()

Validate the object.

Applies to