Class ManagementToken
Represents a personal access token for the management API.
Inheritance
System.Object
ManagementToken
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:Contentful.Core.Models.Management
Assembly:cs.temp.dll.dll
Syntax
public class ManagementToken : IContentfulResource
Properties
Name
The name of the token
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RevokedAt
A DateTime representing when the token was revoked. If it's not revoked the value will be null.
Declaration
public DateTime? RevokedAt { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
Scopes
The scopes this access token is valid for.
Declaration
public List<string> Scopes { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
SystemProperties
Common system managed metadata properties.
Declaration
public SystemProperties SystemProperties { get; set; }
Property Value
Type | Description |
---|---|
SystemProperties |
Implements
Token
The access token.
Declaration
public string Token { get; set; }
Property Value
Type | Description |
---|---|
System.String |