Table of Contents

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 string

The string representation of a JWT

Exceptions

ArgumentException
ArgumentOutOfRangeException

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

ArgumentNullException
ArgumentOutOfRangeException

Properties

Header

Gets the Header part of a JWT

public string Header { get; }

Property Value

string

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

string

Signature

Gets the Signature part of a JWT

public string Signature { get; }

Property Value

string