Functions

audienceVerifier(String clientId) → TokenVerifier

Returns verifier which verifies if JWT was generated for a client with clientId.

emailVerifiedVerifier() → TokenVerifier

Returns verifier which verifies if user's email is verified.

expirationVerifier(Duration tolerance) → TokenVerifier

Returns verifier which verifies if JWT not expires.

googleJwtVerifier(String clientId, { Duration expirationTolerance }) → TokenVerifier

Returns verifier which verifies the Google JWT.

issuerVerifier() → TokenVerifier

Returns verifier which verifies if JWT was issued by Google Accounts.

signatureVerifier({String certificatesUrl: 'https://www.googleapis.com/oauth2/v3/certs' }) → TokenVerifier

Returns verifier which verifies JWT's signature.

Classes

GoogleJwtDecoder

Converter capable of decode the encoded Google JWT.