Documentation

RevocationRequest
in package

Generates the Revocation Request

Linee Guida OpenID Connect in SPID

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
throws
Exception
Return values
RevocationRequest

getResponse()

retrieves the response returned from previous revocation request

public getResponse() : object
Tags
throws
Exception
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
throws
Exception
Return values
object

response returned from revocation

Search results