pCon.basket - Plugin Development
    Preparing search index...

    Interface CreateEaiwsSessionOptions

    interface CreateEaiwsSessionOptions {
        closeSessionOnWindowClose?: boolean;
        customSettings?: EaiwsSettings;
        eaiwsAuthData?: EaiwsAuthData;
        pConLoginToken?: string;
        useUserSession?: boolean;
    }
    Index
    closeSessionOnWindowClose?: boolean

    If true the session will be closed automatically if the browser window gets closed. (default: true)

    customSettings?: EaiwsSettings

    Can be used to create a custom session. If provided the application settings will be ignored.

    eaiwsAuthData?: EaiwsAuthData

    Eaiws authentication data to use for session creation. The authentication data will be ignored if the Gatekeeper is used.

    pConLoginToken?: string

    pCon.login token to use for session creation. The login token is only relevant if the Gatekeeper is used.

    useUserSession?: boolean

    If true and wbkApp.user.eaiwsSession is available this session will be used and it will be cleared and prepared. (default: true) No new session will be created in this case. All other options will be ignored. If wbkApp.user.eaiwsSession is not available a new session will be created using the provided options. Note: wbkApp.user.eaiwsSession should not be closed. Use Utils.closeEaiwsSession() to ensure this.