ClientAuthenticator
class ClientAuthenticator
Constants
| METHODS |
|
| protected MAX_ASSERTION_BYTES |
|
| protected MAX_ASSERTION_LIFETIME |
|
| protected ASSERTION_TYPE |
|
Methods
__construct(ClientRepository $clients, ClientKeyRepository $keys, ReplayCache $replays, ServerFactory $servers)
Create the shared OAuth client authenticator.
authenticate(ServerRequestInterface $request)
Authenticate the request using the client's registered method.
string|null
parameter(array $parameters, string $name)
Read a form credential without changing its opaque value.
array
assertionParts(string $assertion, ServerRequestInterface $request)
Read bounded, untrusted assertion metadata for client and key selection.
void
validateAssertion(ServerRequestInterface $request, Client $client, string $assertion, array $header, array $claims)
Verify the assertion before consuming its replay identifier.
Details
at line 34
__construct(ClientRepository $clients, ClientKeyRepository $keys, ReplayCache $replays, ServerFactory $servers)
Create the shared OAuth client authenticator.
at line 45
Client
authenticate(ServerRequestInterface $request)
Authenticate the request using the client's registered method.
at line 138
protected string|null
parameter(array $parameters, string $name)
Read a form credential without changing its opaque value.
at line 158
protected array
assertionParts(string $assertion, ServerRequestInterface $request)
Read bounded, untrusted assertion metadata for client and key selection.
at line 181
protected void
validateAssertion(ServerRequestInterface $request, Client $client, string $assertion, array $header, array $claims)
Verify the assertion before consuming its replay identifier.