Emarref\Jwt\Encoding\Base64::urlEncode PHP Method

urlEncode() protected method

Return a URL-safe representation of a base64-encoded value.
protected urlEncode ( string $value ) : string
$value string
return string
    protected function urlEncode($value)
    {
        return strtr(rtrim($value, '='), self::$urlSafeReplacements);
    }