Interface WithAuthenticationRequiredOptions

interface WithAuthenticationRequiredOptions {
    returnTo?: string | (() => string);
    onRedirecting?: (() => Element);
    loginOptions?: {
        appState?: any;
        [key: string]: any;
    };
}

Properties

returnTo?: string | (() => string)

URL to redirect the user to, or a function that returns the URL

onRedirecting?: (() => Element)

Component to render while redirecting

loginOptions?: {
    appState?: any;
    [key: string]: any;
}

Additional options for the loginWithRedirect method

MMNEPVFCICPMFPCPTTAAATR