Gajus\Fuss\SignedRequest::decodeBase64Url PHP Метод

decodeBase64Url() приватный статический Метод

The incoming token is encoded using modified base64 encoding for URL, where +/ is replaced with -_ to avoid percent-encoded hexadecimal representation.
См. также: http://en.wikipedia.org/wiki/Base64#URL_applications
См. также: http://php.net/manual/en/function.base64-encode.php#103849
private static decodeBase64Url ( string $input ) : string
$input string
Результат string
    private static function decodeBase64Url($input)
    {
        return base64_decode(str_pad(strtr($input, '-_', '+/'), strlen($input) % 4, '=', STR_PAD_RIGHT));
    }