@schibsted/account-sdk-browser
    Preparing search index...

    Type Alias SimplifiedLoginWidgetLoginOptions

    SimplifiedLoginWidgetLoginOptions: Omit<LoginOptions, "state"> & {
        state?: string | (() => string | Promise<string>);
    }

    Identical to LoginOptions except that state may also be a (possibly async) function; all other fields reuse the LoginOptions documentation.

    Type Declaration

    • Optionalstate?: string | (() => string | Promise<string>)

      An opaque value used by the client to maintain state between the request and callback. It's also recommended to prevent CSRF https://tools.ietf.org/html/rfc6749#section-10.12 Defaults to the value returned by the configured generateState function.