PHP Class Emarref\Jwt\Encoding\Base64

Inheritance: implements Emarref\Jwt\Encoding\EncoderInterface
Afficher le fichier Open project: emarref/jwt

Méthodes publiques

Méthode Description
__construct ( boolean $urlSafe = true, boolean $strict = true )
decode ( string $value ) : string
encode ( string $value ) : string

Méthodes protégées

Méthode Description
urlDecode ( string $value ) : string
urlEncode ( string $value ) : string Return a URL-safe representation of a base64-encoded value.

Method Details

__construct() public méthode

public __construct ( boolean $urlSafe = true, boolean $strict = true )
$urlSafe boolean
$strict boolean

decode() public méthode

public decode ( string $value ) : string
$value string
Résultat string

encode() public méthode

public encode ( string $value ) : string
$value string
Résultat string

urlDecode() protected méthode

protected urlDecode ( string $value ) : string
$value string
Résultat string

urlEncode() protected méthode

Return a URL-safe representation of a base64-encoded value.
protected urlEncode ( string $value ) : string
$value string
Résultat string