Class OAuthExternalLoginManager
Inheritance
OAuthExternalLoginManager
Assembly: Volo.Abp.Identity.Pro.Domain.dll
Syntax
public class OAuthExternalLoginManager : ITransientDependency
Constructors
OAuthExternalLoginManager(IOAuthSettingProvider, IHttpClientFactory)
Declaration
public OAuthExternalLoginManager(IOAuthSettingProvider oAuthSettingProvider, IHttpClientFactory httpClientFactory)
Parameters
Fields
HttpClientName
Declaration
public const string HttpClientName = "OAuthExternalLoginManager"
Field Value
Properties
HttpClientFactory
Declaration
protected IHttpClientFactory HttpClientFactory { get; }
Property Value
Logger
Declaration
public ILogger<OAuthExternalLoginManager> Logger { get; set; }
Property Value
OAuthSettingProvider
Declaration
protected IOAuthSettingProvider OAuthSettingProvider { get; }
Property Value
Methods
AuthenticateAsync(string, string)
Declaration
public virtual Task<bool> AuthenticateAsync(string userName, string password)
Parameters
Returns
GetAccessTokenAsync(string, string)
Declaration
protected virtual Task<string> GetAccessTokenAsync(string userName, string password)
Parameters
Returns
GetDiscoveryResponseAsync()
Declaration
protected virtual Task<DiscoveryDocumentResponse> GetDiscoveryResponseAsync()
Returns
| Type |
Description |
| Task<DiscoveryDocumentResponse> |
|
GetUserInfoAsync(string, string)
Declaration
public virtual Task<IEnumerable<Claim>> GetUserInfoAsync(string userName, string password)
Parameters
Returns
Implements
Extension Methods