Table of Contents

Class Auth0WebAppWithAccessTokenOptions

Namespace
Auth0.AspNetCore.Authentication
Assembly
Auth0.AspNetCore.Authentication.dll

Options used to configure the SDK when using Access Tokens

public class Auth0WebAppWithAccessTokenOptions
Inheritance
Auth0WebAppWithAccessTokenOptions
Inherited Members

Properties

Audience

The audience to be used for requesting API access.

public string? Audience { get; set; }

Property Value

string

Events

Events allowing you to hook into specific moments in the Auth0 middleware.

public Auth0WebAppWithAccessTokenEvents? Events { get; set; }

Property Value

Auth0WebAppWithAccessTokenEvents

Scope

Scopes to be used to request token(s). (e.g. "Scope1 Scope2 Scope3")

public string? Scope { get; set; }

Property Value

string

UseRefreshTokens

Define whether or not Refresh Tokens should be used internally when the access token is expired.

public bool UseRefreshTokens { get; set; }

Property Value

bool