CoreFiles by mySites.guru
Encoder.php25 lines, 522 bytes, from Joomla_5.4.11-Stable-Full_Package.zip
Raw History Compare with 5.4.10
md5
728db7c5a911125b1ea075b262bac5cb
sha1
b85b991a468ad08820ecd1538cc30fec5508cce6
sha256
17dd4701c81adc0f53561a7c2bc13d4d9071cafc54fa9f1417c356166fb45210
<?php
declare(strict_types=1);

namespace Lcobucci\JWT;

use Lcobucci\JWT\Encoding\CannotEncodeContent;

interface Encoder
{
    /**
     * Encodes to JSON, validating the errors
     *
     * @param mixed $data
     *
     * @throws CannotEncodeContent When something goes wrong while encoding.
     */
    public function jsonEncode($data): string;

    /**
     * Encodes to base64url
     *
     * @link http://tools.ietf.org/html/rfc4648#section-5
     */
    public function base64UrlEncode(string $data): string;
}

The same content is in 158 releases, Joomla 5.0.0-alpha1 to 6.3.0-alpha1. See them all, or every version of this file.