Reference·.NET · BIM.works_SDK.NET

AuthToken

Class in BIM.works_SDK.

API catalogue · BIM.works_SDK · Class

.NET#
public class AuthToken

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)#

.NET#
public AuthToken(JsonElement authElement)

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.GetHashCode
  • System.Object.GetType
  • System.Object.MemberwiseClone
  • System.Object.ReferenceEquals(System.Object,System.Object)
  • System.Object.ToString