private function JWTVerifier::decodeTokenSegment in Auth0 Single Sign On 8.2
Base64 and JSON decode a string.
@codeCoverageIgnore
Parameters
string $segment Base64 encoded JSON string.:
Return value
object
1 call to JWTVerifier::decodeTokenSegment()
- JWTVerifier::verifyAndDecode in vendor/
auth0/ auth0-php/ src/ JWTVerifier.php - Verify and decode a JWT.
File
- vendor/
auth0/ auth0-php/ src/ JWTVerifier.php, line 270
Class
- JWTVerifier
- Class JWTVerifier. Used to validate JWTs issued by Auth0.
Namespace
Auth0\SDKCode
private function decodeTokenSegment($segment) {
return JWT::jsonDecode($this
->decodeB64($segment));
}