authentication property

  1. @override
Future<GoogleSignInAuthentication> authentication
override

Retrieve GoogleSignInAuthentication for this account.

shouldRecoverAuth sets whether to attempt to recover authentication if user action is needed. If an attempt to recover authentication fails a PlatformException is thrown with possible error code kFailedToRecoverAuthError.

Otherwise, if shouldRecoverAuth is false and the authentication can be recovered by user action a PlatformException is thrown with error code kUserRecoverableAuthError.

Implementation

@override
Future<GoogleSignInAuthentication> get authentication =>
    Future.value(MockGoogleSignInAuthentication());