This repository has been archived on 2022-02-10. You can view files and clone it, but cannot push or open issues or pull requests.
|
<?php
|
|
|
|
namespace OAuth2\Encryption;
|
|
|
|
interface EncryptionInterface
|
|
{
|
|
public function encode($payload, $key, $algorithm = null);
|
|
public function decode($payload, $key, $algorithm = null);
|
|
public function urlSafeB64Encode($data);
|
|
public function urlSafeB64Decode($b64);
|
|
}
|