Request

Response

    Class IntrospectToken

    Namespace: Autodesk.Authentication.Model
    Assembly: Autodesk.Authentication.dll

    Represents the payload returned for an introspect token request.

    [DataContract]
    public class IntrospectToken
    

    Inheritance

    object ← IntrospectToken

    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 class.

    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

    string

    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

    string

    UserId

    The ID of the user who authorized the token.

    [DataMember(Name = "userid", EmitDefaultValue = false)]
    public string UserId { get; set; }
    

    Property Value

    string

    Methods

    ToString()

    Returns the string presentation of the object.

    public override string ToString()
    

    Returns

    string

    String presentation of the object.