clearSessionPreference

Whether the existing session preference should be cleared.

For authentication providers that support being signed into multiple accounts at once, the user will be prompted to select an account to use when authentication.getSession is called. This preference is remembered until authentication.getSession is called with this flag.

Note: The preference is extension specific. So if one extension calls authentication.getSession, it will not affect the session preference for another extension calling authentication.getSession. Additionally, the preference is set for the current workspace and also globally. This means that new workspaces will use the "global" value at first and then when this flag is provided, a new value can be set for that workspace. This also means that pre-existing workspaces will not lose their preference if a new workspace sets this flag.

Defaults to false.

Online Documentation