Class JwtParts
- Namespace
- JWT
- Assembly
- Coherence.JWT.dll
Represent the parts of a JWT
public class JwtParts
- Inheritance
-
JwtParts
Constructors
JwtParts(string)
Creates a new instance of JwtParts from the string representation of a JWT
public JwtParts(string token)
Parameters
token
stringThe string representation of a JWT
Exceptions
JwtParts(string[])
Creates a new instance of JwtParts from the array representation of a JWT
public JwtParts(string[] parts)
Parameters
parts
string[]The array representation of a JWT
Exceptions
Properties
Header
Gets the Header part of a JWT
public string Header { get; }
Property Value
Parts
Gets the parts of a JWT
public string[] Parts { get; }
Property Value
- string[]
Payload
Gets the Payload part of a JWT
public string Payload { get; }
Property Value
Signature
Gets the Signature part of a JWT
public string Signature { get; }