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

    Interface PConLoginContext

    Special user context for pCon.login scenarios.

    User.context

    interface PConLoginContext {
        contextType: "pCon.login";
        getToken(pForceNew?: boolean): Promise<string>;
    }

    Hierarchy (View Summary)

    Index
    contextType: "pCon.login"
    • Returns the pCon.login access token.

      Parameters

      • OptionalpForceNew: boolean

        If true the token will always be refreshed and a new token will be returned.

      Returns Promise<string>