Class AuthenticationBuilderExtensions
- Namespace
- Auth0.AspNetCore.Authentication
- Assembly
- Auth0.AspNetCore.Authentication.dll
Contains AuthenticationBuilder extension(s) for registering Auth0.
public static class AuthenticationBuilderExtensions
- Inheritance
-
AuthenticationBuilderExtensions
- Inherited Members
Methods
AddAuth0WebAppAuthentication(AuthenticationBuilder, Action<Auth0WebAppOptions>)
Add Auth0 configuration using Open ID Connect
public static Auth0WebAppAuthenticationBuilder AddAuth0WebAppAuthentication(this AuthenticationBuilder builder, Action<Auth0WebAppOptions> configureOptions)
Parameters
builder
AuthenticationBuilderThe original AuthenticationBuilder instance
configureOptions
Action<Auth0WebAppOptions>A delegate used to configure the Auth0WebAppOptions
Returns
- Auth0WebAppAuthenticationBuilder
The AuthenticationBuilder instance that has been configured.
AddAuth0WebAppAuthentication(AuthenticationBuilder, string, Action<Auth0WebAppOptions>)
Add Auth0 configuration using Open ID Connect
public static Auth0WebAppAuthenticationBuilder AddAuth0WebAppAuthentication(this AuthenticationBuilder builder, string authenticationScheme, Action<Auth0WebAppOptions> configureOptions)
Parameters
builder
AuthenticationBuilderThe original AuthenticationBuilder instance
authenticationScheme
stringThe authentication scheme to use.
configureOptions
Action<Auth0WebAppOptions>A delegate used to configure the Auth0WebAppOptions
Returns
- Auth0WebAppAuthenticationBuilder
The AuthenticationBuilder instance that has been configured.