Class Auth0ApiAuthenticationBuilder
- Namespace
- Auth0.AspNetCore.Authentication.Api
- Assembly
- Auth0.AspNetCore.Authentication.Api.dll
Builder to add functionality on top of Auth0 API authentication.
public class Auth0ApiAuthenticationBuilder
- Inheritance
-
Auth0ApiAuthenticationBuilder
- Inherited Members
- Extension Methods
Constructors
Auth0ApiAuthenticationBuilder(IServiceCollection, Auth0ApiOptions)
Initializes a new instance of the Auth0ApiAuthenticationBuilder class.
public Auth0ApiAuthenticationBuilder(IServiceCollection services, Auth0ApiOptions options)
Parameters
servicesIServiceCollectionThe IServiceCollection instance used to register authentication services.
optionsAuth0ApiOptionsThe Auth0ApiOptions containing configuration options for Auth0 authentication.
Auth0ApiAuthenticationBuilder(IServiceCollection, string, Auth0ApiOptions)
Constructs an instance of Auth0ApiAuthenticationBuilder.
public Auth0ApiAuthenticationBuilder(IServiceCollection services, string authenticationScheme, Auth0ApiOptions options)
Parameters
servicesIServiceCollectionThe IServiceCollection instance used to register authentication services.
authenticationSchemestringThe authentication scheme to use for the Auth0 authentication handler.
optionsAuth0ApiOptionsThe Auth0ApiOptions containing configuration options for Auth0 authentication.
Properties
AuthenticationScheme
public string AuthenticationScheme { get; }
Property Value
Options
public Auth0ApiOptions Options { get; }
Property Value
Services
public IServiceCollection Services { get; }