Class MemberExternalLoginProviders
Service to return MemberExternalLoginProvider instances
Inheritance
System.Object
Namespace: Umbraco.Cms.Web.Common.Security
Assembly: Umbraco.Web.Common.dll
Syntax
public class MemberExternalLoginProviders : IMemberExternalLoginProviders
Constructors
View SourceMemberExternalLoginProviders(IEnumerable<MemberExternalLoginProvider>, IAuthenticationSchemeProvider)
Declaration
public MemberExternalLoginProviders(IEnumerable<MemberExternalLoginProvider> externalLogins, IAuthenticationSchemeProvider authenticationSchemeProvider)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<MemberExternalLoginProvider> | externalLogins | |
Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider | authenticationSchemeProvider |
Methods
View SourceGetAsync(String)
Get the MemberExternalLoginProviderScheme for the specified scheme
Declaration
public async Task<MemberExternalLoginProviderScheme> GetAsync(string authenticationType)
Parameters
Type | Name | Description |
---|---|---|
System.String | authenticationType |
Returns
Type | Description |
---|---|
Task<MemberExternalLoginProviderScheme> |
GetMemberProvidersAsync()
Get all registered MemberExternalLoginProviderScheme
Declaration
public async Task<IEnumerable<MemberExternalLoginProviderScheme>> GetMemberProvidersAsync()
Returns
Type | Description |
---|---|
Task<IEnumerable<MemberExternalLoginProviderScheme>> |