Class DbOAuthAuthorizationToken
Represents an oauth client registration
Inheritance
System.Object
DbOAuthAuthorizationToken
Implements
IItem<System.Int32>
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: ImageVault.Core.Common.DbEntities
Assembly: ImageVault.Core.dll
Syntax
public class DbOAuthAuthorizationToken
Constructors
DbOAuthAuthorizationToken()
Declaration
public DbOAuthAuthorizationToken()
Properties
AuthorizationToken
The authorization token
Declaration
public string AuthorizationToken { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ClientId
The id of the client that requested the authorization token.
Declaration
public string ClientId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Data
The data object used for creating the access token.
Declaration
public string Data { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Expires
The expiration time of the token
Declaration
[DateTimeKind(DateTimeKind.Utc)]
public DateTime Expires { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
Remarks
Value is in UTC format
Id
The authorization token id
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PinCode
The pin code, used to request an authorization code
Declaration
public string PinCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RedirectUrl
The redirect uri used when requesting the authorization token
Declaration
public string RedirectUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String |