Page MenuHomeWickedGov Phorge

OAuthClaimStoreGetClaimsHook.php
No OneTemporary

Size
740 B
Referenced Files
None
Subscribers
None

OAuthClaimStoreGetClaimsHook.php

<?php
namespace MediaWiki\Extension\OAuth\Repository\Hook;
use MediaWiki\Extension\OAuth\Entity\MWClientEntityInterface;
interface OAuthClaimStoreGetClaimsHook {
/**
* Use this hook to add a list of private claims to a client's JWT
*
* @param string $grantType Type of OAuth grant
* @param MWClientEntityInterface $clientEntity Client that is making the request
* @param array &$privateClaims List of private claims to be added to the JWT
* @param string|null $userIdentifier Identifier for the user that is making the request, default is null
* @return void
*/
public function onOAuthClaimStoreGetClaims(
string $grantType, MWClientEntityInterface $clientEntity, array &$privateClaims, $userIdentifier = null
);
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Oct 3, 05:26 (2 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
b2/b3/a9e4c776a293f8ff5c3d97e22311
Default Alt Text
OAuthClaimStoreGetClaimsHook.php (740 B)

Event Timeline