pCon.basket - Integration
    Preparing search index...

    Interface UserConfig

    User configuration used for the wbk.configuration message.

    interface UserConfig {
        accessToken?: string;
        accountUrl?: string;
        companyLogo?: string;
        fullName?: string;
        name?: string;
        restrictions?: UserRestriction[];
    }
    Index
    accessToken?: string

    (Advanced integration only) Optional pCon.login access token. Some basket operations are only available for logged in users e.g. accessing protected PIM article information or to access user/organization preferences Note: The access token usually expires after 1 hour. Its important to request a new token before that happens and send it to the basket using the wbk.updateUserAccessToken message.

    accountUrl?: string

    (Advanced integration only) Optional url for user account management.

    companyLogo?: string

    Optional url to the company logo.

    fullName?: string

    (Advanced integration only) Optional full name of the user (e.g. first name + last name).

    name?: string

    (Advanced integration only) Login name of the user.

    restrictions?: UserRestriction[]

    Optional set of restrictions for this user. If not defined the default restrictions of the application will be used. See basket integration manual for a list of available restrictions.