private function JWTVerifier::supportsAlg in Auth0 Single Sign On 8.2
Check whether the $alg parameter is supported.
@codeCoverageIgnore
Parameters
string $alg Algorithm to check.:
Return value
boolean
2 calls to JWTVerifier::supportsAlg()
- JWTVerifier::verifyAndDecode in vendor/
auth0/ auth0-php/ src/ JWTVerifier.php - Verify and decode a JWT.
- JWTVerifier::__construct in vendor/
auth0/ auth0-php/ src/ JWTVerifier.php - JWTVerifier Constructor.
File
- vendor/
auth0/ auth0-php/ src/ JWTVerifier.php, line 284
Class
- JWTVerifier
- Class JWTVerifier. Used to validate JWTs issued by Auth0.
Namespace
Auth0\SDKCode
private function supportsAlg($alg) {
return in_array($alg, $this->supported_algs);
}