verifyToken function

Future<String> verifyToken (
  1. String token,
  2. {FirebaseAuth firebaseAuth,
  3. bool checkRevoked: false}
)

Verify a Firebase token

Implementation

Future<String> verifyToken(String token,
        {FirebaseAuth firebaseAuth, bool checkRevoked = false}) async =>
    Jwt(token).validate(await _googleCertificates,
        firebaseAuth: firebaseAuth, checkRevoked: checkRevoked);