Type Alias LoginOptions

LoginOptions: {
    useCachedSession?: boolean;
    useSilentLogin?: boolean;
    useRedirectFlow?: boolean;
    directLoginOptions?: auth.DirectLoginOptions;
}

Extended login options with caching and silent login support

Type declaration

  • OptionaluseCachedSession?: boolean

    If true, attempts to use cached session without user interaction

  • OptionaluseSilentLogin?: boolean

    If true, attempts silent authentication (force token refresh)

  • OptionaluseRedirectFlow?: boolean

    If true, uses redirect flow instead of popup flow

  • OptionaldirectLoginOptions?: auth.DirectLoginOptions

    Direct login options (social provider, email, etc.)