Class ThreeLeggedToken
Namespace: Autodesk.Authentication.Model
Assembly: Autodesk.Authentication.dll
Represents the payload returned in response to an authorization code grant request.
[DataContract]
public class ThreeLeggedToken
Inheritance
Inherited Members
object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()
Constructors
ThreeLeggedToken()
Initializes a new instance of the
public ThreeLeggedToken()
Properties
AccessToken
The access token.
[DataMember(Name = "access_token", EmitDefaultValue = false)]
public string AccessToken { get; set; }
Property Value
ExpiresAt
[DataMember(Name = "expires_at", EmitDefaultValue = false)]
public long? ExpiresAt { get; }
Property Value
long ?
ExpiresIn
Access token time to expiration (in seconds).
[DataMember(Name = "expires_in", EmitDefaultValue = false)]
public int? ExpiresIn { get; set; }
Property Value
int ?
IdToken
The ID token, if openid scope was specified in /authorize request.
[DataMember(Name = "id_token", EmitDefaultValue = false)]
public string IdToken { get; set; }
Property Value
RefreshToken
The refresh token.
[DataMember(Name = "refresh_token", EmitDefaultValue = false)]
public string RefreshToken { get; set; }
Property Value
TokenType
Will always be Bearer.
[DataMember(Name = "token_type", EmitDefaultValue = false)]
public string TokenType { get; set; }
Property Value
Methods
ToString()
Returns the string presentation of the object.
public override string ToString()
Returns
String presentation of the object.