React Native Auth0 - v5.0.0-beta.4
    Preparing search index...

    Interface NativeAuthorizeOptions

    Options specific to the authorize method on Native platforms.

    Platform specific: Native only (iOS/Android).

    interface NativeAuthorizeOptions {
        leeway?: number;
        ephemeralSession?: boolean;
        customScheme?: string;
        useLegacyCallbackUrl?: boolean;
        useSFSafariViewController?:
            | boolean
            | { presentationStyle?: SafariViewControllerPresentationStyle };
    }
    Index

    Properties

    leeway?: number

    The amount of leeway, in seconds, to accommodate potential clock skew when validating an ID token's claims.

    60 seconds.
    
    ephemeralSession?: boolean

    iOS only: Disable Single-Sign-On (SSO). It only affects iOS with versions 13 and above.

    false

    customScheme?: string

    Custom scheme to build the callback URL with.

    useLegacyCallbackUrl?: boolean
    useSFSafariViewController?:
        | boolean
        | { presentationStyle?: SafariViewControllerPresentationStyle }

    iOS only: Uses SFSafariViewController instead of ASWebAuthenticationSession. If empty object is set, the presentationStyle defaults to SafariViewControllerPresentationStyle.fullScreen

    This can be used as a boolean value or as an object which sets the presentationStyle. See the examples below for reference

    await authorize({}, {useSFSafariViewController: true});
    

    or

    await authorize({}, {useSFSafariViewController: {presentationStyle: SafariViewControllerPresentationStyle.fullScreen}});