mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-13 22:43:39 +08:00
18 lines
315 B
PHP
18 lines
315 B
PHP
|
<?php
|
||
|
|
||
|
namespace BookStack\Access\Oidc;
|
||
|
|
||
|
interface ProvidesClaims
|
||
|
{
|
||
|
/**
|
||
|
* Fetch a specific claim.
|
||
|
* Returns null if it is null or does not exist.
|
||
|
*/
|
||
|
public function getClaim(string $claim): mixed;
|
||
|
|
||
|
/**
|
||
|
* Get all contained claims.
|
||
|
*/
|
||
|
public function getAllClaims(): array;
|
||
|
}
|