OAuthTokenResponse Class

Namespace
Microsoft.AspNetCore.Authentication.OAuth
Assemblies
  • Microsoft.AspNetCore.Authentication.OAuth

Syntax

public class OAuthTokenResponse
class Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse

Properties

Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse.AccessToken
Return type:System.String
public string AccessToken { get; set; }
Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse.Error
Return type:System.Exception
public Exception Error { get; set; }
Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse.ExpiresIn
Return type:System.String
public string ExpiresIn { get; set; }
Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse.RefreshToken
Return type:System.String
public string RefreshToken { get; set; }
Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse.Response
Return type:Newtonsoft.Json.Linq.JObject
public JObject Response { get; set; }
Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse.TokenType
Return type:System.String
public string TokenType { get; set; }

Methods

Failed(System.Exception)
Return type:Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse
public static OAuthTokenResponse Failed(Exception error)
Success(Newtonsoft.Json.Linq.JObject)
Return type:Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse
public static OAuthTokenResponse Success(JObject response)