RevocationRequest
in package
Generates the Revocation Request
Table of Contents
- __construct() : RevocationRequest
- creates a new RevocationRequest instance
- getResponse() : object
- retrieves the response returned from previous revocation request
- send() : object
- send the revocation request
Methods
__construct()
creates a new RevocationRequest instance
public
__construct(array<string|int, mixed> $config) : RevocationRequest
Parameters
- $config : array<string|int, mixed>
-
base configuration
Tags
Return values
RevocationRequest —getResponse()
retrieves the response returned from previous revocation request
public
getResponse() : object
Tags
Return values
object —response returned from revocation
send()
send the revocation request
public
send(string $revocation_endpoint, string $token) : object
Parameters
- $revocation_endpoint : string
-
revocation endpoint of the provider
- $token : string
-
token to be revoked
Tags
Return values
object —response returned from revocation