forceNewSession property

Object? get forceNewSession

Whether we should attempt to reauthenticate even if there is already a session available.

If true, a modal dialog will be shown asking the user to sign in again. This is mostly used for scenarios where the token needs to be re minted because it has lost some authorization.

If there are no existing sessions and forceNewSession is true, it will behave identically to {@link AuthenticationGetSessionOptions.createIfNone createIfNone}.

This defaults to false.

Implementation

_i2.Object? get forceNewSession => _i5.getProperty(
      this,
      'forceNewSession',
    );
set forceNewSession (Object? value)

Implementation

set forceNewSession(_i2.Object? value) {
  _i5.setProperty(
    this,
    'forceNewSession',
    value ?? _i6.undefined,
  );
}