Share via


SecurityTokenDescriptor.TokenType Property

Definition

Gets or sets the token type. If provided, this will be added as the value for the 'typ' header parameter. In the case of a JWE, this will be added to both the inner (JWS) and the outer token (JWE) header. By default, the value used is 'JWT'. If AdditionalHeaderClaims also contains 'typ' header claim value, it will override the TokenType provided here. This value is used only for JWT tokens and not for SAML/SAML2 tokens

public string TokenType { get; set; }
member this.TokenType : string with get, set
Public Property TokenType As String

Property Value

Applies to