public OauthTokenModel ToOauthTokenModel() { var ytm = new OauthTokenModel { AccessToken = access_token, TokenType = scope, AccessTokenExpiry = DateTime.MaxValue }; return(ytm); }
public OauthTokenModel ToOauthTokenModel() { var ytm = new OauthTokenModel { AccessToken = access_token, TokenType = token_type, //RefreshToken = refresh_token, AccessTokenExpiry = DateTime.UtcNow.AddSeconds(expires_in) }; return(ytm); }