Class JsonWebToken
Assembly: Glitch9.IO.dll
Syntax
public class JsonWebToken
Constructors
|
Edit this page
View Source
JsonWebToken(string, JObject, JObject, byte[])
Declaration
public JsonWebToken(string rawToken, JObject header, JObject payload, byte[] signature)
Parameters
| Type |
Name |
Description |
| string |
rawToken |
|
| JObject |
header |
|
| JObject |
payload |
|
| byte[] |
signature |
|
Properties
|
Edit this page
View Source
Declaration
public JObject Header { get; set; }
Property Value
|
Edit this page
View Source
Payload
Declaration
public JObject Payload { get; set; }
Property Value
|
Edit this page
View Source
Signature
Declaration
public byte[] Signature { get; set; }
Property Value
Methods
|
Edit this page
View Source
Parse(string)
Declaration
public static JsonWebToken Parse(string jwt)
Parameters
| Type |
Name |
Description |
| string |
jwt |
|
Returns
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
|
Edit this page
View Source
implicit operator string(JsonWebToken)
Declaration
public static implicit operator string(JsonWebToken token)
Parameters
Returns
Extension Methods