Class IntrospectToken
Namespace: Autodesk.Authentication.Model
Assembly: Autodesk.Authentication.dll
Represents the payload returned for an introspect token request.
[DataContract]
public class IntrospectToken
Inheritance
Inherited Members
object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()
Constructors
IntrospectToken()
Initializes a new instance of the
public IntrospectToken()
Properties
Active
true
: The token is active.
false
: The token is expired, invalid, or revoked.
[DataMember(Name = "active", EmitDefaultValue = false)]
public bool? Active { get; set; }
Property Value
bool ?
ClientId
The Client ID of the application associated with the token.
[DataMember(Name = "client_id", EmitDefaultValue = false)]
public string ClientId { get; set; }
Property Value
Exp
The expiration time of the token, represented as a Unix timestamp.
[DataMember(Name = "exp", EmitDefaultValue = false)]
public int? Exp { get; set; }
Property Value
int ?
Scope
A URL-encoded, space separated list of scopes associated with the token.
[DataMember(Name = "scope", EmitDefaultValue = false)]
public string Scope { get; set; }
Property Value
UserId
The ID of the user who authorized the token.
[DataMember(Name = "userid", EmitDefaultValue = false)]
public string UserId { get; set; }
Property Value
Methods
ToString()
Returns the string presentation of the object.
public override string ToString()
Returns
String presentation of the object.