Function Auth0Provider

  • Provides the Auth0Context to its child components.

    Parameters

    • __namedParameters: PropsWithChildren<{
          clientId: string;
          domain: string;
          localAuthenticationOptions?: LocalAuthenticationOptions;
      }>

    Returns Element

    Example

    <Auth0Provider domain="YOUR AUTH0 DOMAIN" clientId="YOUR CLIENT ID">
    <App />
    </Auth0Provider>

Generated using TypeDoc