AuthToken
Class in BIM.works_SDK.
API catalogue · BIM.works_SDK · Class
Inheritance and interfaces#
System.Object
Members#
| Member | Kind | Description |
|---|---|---|
| AuthToken(JsonElement) | Constructor | |
| GetJson() | Method | |
| GetPayload() | Method | |
| ToBearer() | Method | The value of an Authorization header carrying this token, as the upload endpoint requires: "Bearer " + base64 of the token JSON |
| ToJsonString() | Method |
AuthToken(JsonElement)#
Parameters#
| Name | Type | Description |
|---|---|---|
authElement |
System.Text.Json.JsonElement |
GetJson()#
.NET#
public JsonElement GetJson()GetPayload()#
.NET#
public JsonElement GetPayload()ToBearer()#
.NET#
public string ToBearer()The value of an Authorization header carrying this token, as the upload endpoint requires: "Bearer " + base64 of the token JSON
ToJsonString()#
.NET#
public string ToJsonString()Inherited members#
System.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseCloneSystem.Object.ReferenceEquals(System.Object,System.Object)System.Object.ToString