View Source
Class MemberAuthenticationBuilder
Custom Microsoft.AspNetCore.Authentication.AuthenticationBuilder used to associate external logins with umbraco external login options
Inheritance
object
AuthenticationBuilder
Assembly: Umbraco.Web.Website.dll
Syntax
public class MemberAuthenticationBuilder : AuthenticationBuilder
Constructors
View Source
MemberAuthenticationBuilder(IServiceCollection, Action<MemberExternalLoginProviderOptions>?)
Declaration
public MemberAuthenticationBuilder(IServiceCollection services, Action<MemberExternalLoginProviderOptions>? loginProviderOptions = null)
Parameters
Methods
View Source
AddRemoteScheme<TOptions, THandler>(string, string?, Action<TOptions>?)
Overridden to track the final authenticationScheme being registered for the external login
Declaration
public override AuthenticationBuilder AddRemoteScheme<TOptions, THandler>(string authenticationScheme, string? displayName, Action<TOptions>? configureOptions) where TOptions : RemoteAuthenticationOptions, new() where THandler : RemoteAuthenticationHandler<TOptions>
Parameters
| Type |
Name |
Description |
| string |
authenticationScheme |
|
| string |
displayName |
|
| Action<TOptions> |
configureOptions |
|
Returns
| Type |
Description |
| AuthenticationBuilder |
|
Type Parameters
| Name |
Description |
| TOptions |
|
| THandler |
|
View Source
Declaration
public string SchemeForMembers(string scheme)
Parameters
| Type |
Name |
Description |
| string |
scheme |
|
Returns