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)

Initializes a new instance of the Auth0ApiAuthenticationBuilder class using the default Auth0 authentication scheme.

public Auth0ApiAuthenticationBuilder(IServiceCollection services)

Parameters

services IServiceCollection

The IServiceCollection instance used to register authentication services.

Auth0ApiAuthenticationBuilder(IServiceCollection, string)

Constructs an instance of Auth0ApiAuthenticationBuilder.

public Auth0ApiAuthenticationBuilder(IServiceCollection services, string authenticationScheme)

Parameters

services IServiceCollection

The IServiceCollection instance used to register authentication services.

authenticationScheme string

The authentication scheme to use for the Auth0 authentication handler.

Properties

AuthenticationScheme

The authentication scheme name.

public string AuthenticationScheme { get; }

Property Value

string

Services

The service collection.

public IServiceCollection Services { get; }

Property Value

IServiceCollection