@auth0/auth0-acul-react - v1.0.0
    Preparing search index...

    Interface LanguageChangeOptions

    Options for changing the language/locale during the authentication flow

    interface LanguageChangeOptions {
        language: string;
        persist?: "session";
        [key: string]: string | number | boolean | undefined;
    }

    Indexable

    • [key: string]: string | number | boolean | undefined

      Additional custom fields to be submitted along with the language change. Custom fields should be prefixed with 'ulp-'.

    Index

    Properties

    Properties

    language: string

    Short language name (locale code) to be set (e.g., 'en', 'fr', 'es').

    persist?: "session"

    Defines persistence scope for the language preference. Currently only 'session' is supported.

    'session'