aboutsummaryrefslogtreecommitdiffstats
path: root/library/oauth2/src/OAuth2/Encryption/EncryptionInterface.php
blob: 2d336c66434adcf1af721b9f9feb1d20d36a7523 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
<?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);
}