Skip to main content

AuthProviderContext

interface

What a provider's three callbacks are handed to do their work.

interface AuthProviderContext

Import

import { AuthProviderContext } from '@modular/sdk';

Members4

configuration
AuthConfiguration

User-configured, non-secret settings such as a server or tenant.

prompt
AuthPrompt

Ask the user for a token or a code.

secrets
SecretStorage

Where tokens go.

openExternal
(url: string) => Promise<boolean>

Open a URL in the user's browser, for an OAuth round trip.

Notes

category
Authoring