Udostępnij za pośrednictwem


EccTokenKey Class

Definition

Required validation properties for tokens generated with Elliptical Curve algorithm.

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

Constructors

EccTokenKey()

Initializes a new instance of the EccTokenKey class.

EccTokenKey(String, AccessPolicyEccAlgo, String, String)

Initializes a new instance of the EccTokenKey class.

Properties

Alg

Gets or sets elliptical curve algorithm to be used: ES256, ES384 or ES512. Possible values include: 'ES256', 'ES384', 'ES512'

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)
X

Gets or sets x coordinate.

Y

Gets or sets y coordinate.

Methods

Validate()

Validate the object.

Applies to