Diff: STRATO-apps/wordpress_03/app/wp-content/plugins/tutor-pro/vendor/web-token/jwt-core/Algorithm.php
Keine Baseline-Datei – Diff nur gegen leer.
1
-
1
+
<?php
2
+
3
+
declare(strict_types=1);
4
+
5
+
/*
6
+
* The MIT License (MIT)
7
+
*
8
+
* Copyright (c) 2014-2020 Spomky-Labs
9
+
*
10
+
* This software may be modified and distributed under the terms
11
+
* of the MIT license. See the LICENSE file for details.
12
+
*/
13
+
14
+
namespace Jose\Component\Core;
15
+
16
+
interface Algorithm
17
+
{
18
+
/**
19
+
* Returns the name of the algorithm.
20
+
*/
21
+
public function name(): string;
22
+
23
+
/**
24
+
* Returns the key types suitable for this algorithm (e.g. "oct", "RSA"...).
25
+
*
26
+
* @return string[]
27
+
*/
28
+
public function allowedKeyTypes(): array;
29
+
}
30
+