Class JsonWebToken
JWT (https://developers.google.com/identity/protocols/OAuth2ServiceAccount).
A JWT is composed of three parts: a header, a claim set, and a signature. The header and claim set are JSON objects. These JSON objects are serialized to UTF-8 bytes, then encoded using the Base64url encoding. This encoding provides resilience against encoding changes due to repeated encoding operations. The header, claim set, and signature are concatenated together with a period (.) character.
{Base64url encoded header}.{Base64url encoded claim set}.{Base64url encoded signature}
Inheritance
System.Object
JsonWebToken
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: NFX.IO.FileSystem.GoogleDrive.Auth
Assembly: NFX.Web.dll
Syntax
public class JsonWebToken
Constructors
JsonWebToken(String, String)
Declaration
public JsonWebToken(string email, string certPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | ||
System.String | certPath |
Fields
GRANT_TYPE
Declaration
public static readonly string GRANT_TYPE
Field Value
Type | Description |
---|---|
System.String |
Methods
Refresh()
Declaration
public void Refresh()
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()