AuthCodeGrant
class AuthCodeGrant extends AuthCodeGrant
Traits
Methods
ClientEntityInterface
validateClient(ServerRequestInterface $request)
Authenticate the client before checking its permitted grants.
from
AuthenticatesClients
AuthorizationRequestInterface
validateAuthorizationRequest(ServerRequestInterface $request)
Validate the authorization request and require a hashed PKCE challenge.
ResponseTypeInterface
respondToAccessTokenRequest(ServerRequestInterface $request, ResponseTypeInterface $responseType, DateInterval $accessTokenTTL)
Validate ownership before code reuse can revoke previously issued credentials.
void
validateCodeChallenge(stdClass $authCodePayload, string|null $codeVerifier)
Verify the hashed challenge captured during authorization.
Details
in
AuthenticatesClients at line 19
protected ClientEntityInterface
validateClient(ServerRequestInterface $request)
Authenticate the client before checking its permitted grants.
at line 28
AuthorizationRequestInterface
validateAuthorizationRequest(ServerRequestInterface $request)
Validate the authorization request and require a hashed PKCE challenge.
at line 41
ResponseTypeInterface
respondToAccessTokenRequest(ServerRequestInterface $request, ResponseTypeInterface $responseType, DateInterval $accessTokenTTL)
Validate ownership before code reuse can revoke previously issued credentials.
at line 116
protected void
validateCodeChallenge(stdClass $authCodePayload, string|null $codeVerifier)
Verify the hashed challenge captured during authorization.