FirebaseTokenVerifier constructor
FirebaseTokenVerifier({
- required Uri clientCertUrl,
- required Uri issuer,
- required FirebaseTokenInfo tokenInfo,
- required FirebaseAdminApp app,
Implementation
FirebaseTokenVerifier({
required Uri clientCertUrl,
required this.issuer,
required this.tokenInfo,
required this.app,
}) : _shortNameArticle = RegExp('[aeiou]', caseSensitive: false)
.hasMatch(tokenInfo.shortName[0])
? 'an'
: 'a',
_signatureVerifier =
PublicKeySignatureVerifier.withCertificateUrl(clientCertUrl);