You are here

private function JWTVerifier::decodeB64 in Auth0 Single Sign On 8.2

Base64 decode a string.

@codeCoverageIgnore

Parameters

string $encoded Base64 encoded string.:

Return value

string

2 calls to JWTVerifier::decodeB64()
JWTVerifier::decodeTokenSegment in vendor/auth0/auth0-php/src/JWTVerifier.php
Base64 and JSON decode a string.
JWTVerifier::__construct in vendor/auth0/auth0-php/src/JWTVerifier.php
JWTVerifier Constructor.

File

vendor/auth0/auth0-php/src/JWTVerifier.php, line 256

Class

JWTVerifier
Class JWTVerifier. Used to validate JWTs issued by Auth0.

Namespace

Auth0\SDK

Code

private function decodeB64($encoded) {
  return JWT::urlsafeB64Decode($encoded);
}