clearSessionPreference property
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 {@link authentication.getSession getSession} is called. This preference is remembered until {@link authentication.getSession getSession} is called with this flag.
Note: The preference is extension specific. So if one extension calls {@link authentication.getSession getSession}, it will not affect the session preference for another extension calling {@link authentication.getSession 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.
Implementation
_i2.bool? get clearSessionPreference => _i5.getProperty(
this,
'clearSessionPreference',
);
Implementation
set clearSessionPreference(_i2.bool? value) {
_i5.setProperty(
this,
'clearSessionPreference',
value ?? _i6.undefined,
);
}