]> BookStack Code Mirror - bookstack/blob - app/Access/Oidc/ProvidesClaims.php
respective book and chapter structure added.
[bookstack] / app / Access / Oidc / ProvidesClaims.php
1 <?php
2
3 namespace BookStack\Access\Oidc;
4
5 interface ProvidesClaims
6 {
7     /**
8      * Fetch a specific claim.
9      * Returns null if it is null or does not exist.
10      */
11     public function getClaim(string $claim): mixed;
12
13     /**
14      * Get all contained claims.
15      */
16     public function getAllClaims(): array;
17 }