onCredentialsChanged property

Stream<Credentials?> onCredentialsChanged

Stream that emits the oauth2.Credentials everytime they change.

You can listen to this stream to log out the user once his session expired.

Implementation

Stream<oauth2.Credentials?> get onCredentialsChanged =>
    _onCredentialsChanged.stream;