JwtSecurityTokenHandler.GetTokenTypeIdentifiers Method

Gets the token type identifier(s) supported by this handler.

Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel.Tokens.Jwt (in System.IdentityModel.Tokens.Jwt.dll)

Syntax

'Declaration
Public Overridable Function GetTokenTypeIdentifiers As String()
public virtual string[] GetTokenTypeIdentifiers()
public:
virtual array<String^>^ GetTokenTypeIdentifiers()
abstract GetTokenTypeIdentifiers : unit -> string[] 
override GetTokenTypeIdentifiers : unit -> string[] 
public function GetTokenTypeIdentifiers() : String[]

Return Value

Type: System.String[]
A collection of strings that identify the tokens this instance can handle.

Remarks

When receiving a JwtSecurityToken wrapped inside a <wsse:BinarySecurityToken> element. The <wsse:BinarySecurityToken> element must have the ValueType attribute set to one of these values in order for this handler to recognize that it can read the token.

.NET Framework Security

See Also

Reference

JwtSecurityTokenHandler Class

System.IdentityModel.Tokens Namespace