共用方式為


TokenClaim Class

Definition

Properties for expected token claims.

public class TokenClaim
type TokenClaim = class
Public Class TokenClaim
Inheritance
TokenClaim

Constructors

TokenClaim()

Initializes a new instance of the TokenClaim class.

TokenClaim(String, String)

Initializes a new instance of the TokenClaim class.

Properties

Name

Gets or sets name of the claim which must be present on the token.

Value

Gets or sets expected value of the claim to be present on the token.

Methods

Validate()

Validate the object.

Applies to