Class DbOAuthAccessToken
Stores a ticket and it's token in a database
Inheritance
System.Object
DbOAuthAccessToken
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 DbOAuthAccessToken
Constructors
DbOAuthAccessToken()
Initializes a new instance of the DbOAuthAccessToken class.
Declaration
public DbOAuthAccessToken()
DbOAuthAccessToken(String, String, DateTime)
Initializes a new instance of the DbOAuthAccessToken class.
Declaration
public DbOAuthAccessToken(string accessToken, string authTicket, DateTime expires)
Parameters
Type | Name | Description |
---|---|---|
System.String | accessToken | The oauth access token. |
System.String | authTicket | The authentication ticket. |
System.DateTime | expires | The time the ticket expires in UTC format. |
Properties
AccessToken
Gets or sets the session token.
Declaration
public string AccessToken { get; set; }
Property Value
Type | Description |
---|---|
System.String | The session token. |
AuthTicket
Gets or sets the authentication ticket.
Declaration
public string AuthTicket { get; set; }
Property Value
Type | Description |
---|---|
System.String | The authentication ticket. |
Expires
Gets or sets the expires time.
Declaration
[DateTimeKind(DateTimeKind.Utc)]
public DateTime Expires { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The expires time in UTC format. |