Lines Matching refs:publicKey
388 * @param string|Key|Key[] $publicKey The public key to use to authenticate the token
401 public function verifyIdToken($publicKey = null, $allowed_algs = array()) argument
408 $resp = $this->jwtDecode($idToken, $publicKey, $allowed_algs);
1446 * @param Key|Key[]|string|string[] $publicKey
1450 private function jwtDecode($idToken, $publicKey, $allowedAlgs) argument
1452 $keys = $this->getFirebaseJwtKeys($publicKey, $allowedAlgs);
1469 * @param Key|Key[]|string|string[] $publicKey
1473 private function getFirebaseJwtKeys($publicKey, $allowedAlgs) argument
1476 if ($publicKey instanceof Key) {
1477 return [$publicKey];
1483 foreach ((array) $publicKey as $kid => $pubKey) {
1512 if (is_array($publicKey)) {
1515 foreach ($publicKey as $kid => $pubKey) {
1525 return [new Key($publicKey, $allowedAlg)];