Table of Contents

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

services IServiceCollection

The IServiceCollection instance used to register authentication services.

options Auth0ApiOptions

The 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

services IServiceCollection

The IServiceCollection instance used to register authentication services.

authenticationScheme string

The authentication scheme to use for the Auth0 authentication handler.

options Auth0ApiOptions

The Auth0ApiOptions containing configuration options for Auth0 authentication.

Properties

AuthenticationScheme

public string AuthenticationScheme { get; }

Property Value

string

Options

public Auth0ApiOptions Options { get; }

Property Value

Auth0ApiOptions

Services

public IServiceCollection Services { get; }

Property Value

IServiceCollection