using System;
using System.ComponentModel.DataAnnotations;
namespace Yavsc.Models.OAuth
{
///
/// OffLine OAuth2 Token
/// To use against a third party Api
///
public partial class OAuth2Tokens
{
///
/// Unique identifier, equals the user email from OAuth provider
///
///
[Key]
public string UserId { get; set; }
///
/// Expiration date & time
///
///
public DateTime Expiration { get; set; }
///
/// Expiration time span in seconds
///
///
public string ExpiresIn { get; set; }
///
/// Should always be Bearer ...
///
///
public string TokenType { get; set; }
///
/// The Access Token!
///
///
public string AccessToken { get; set; }
///
/// The refresh token
///
///
public string RefreshToken { get; set; }
}
}