Package com.authlete.jaxrs
Class RevocationRequestHandler.Params
- java.lang.Object
-
- com.authlete.jaxrs.RevocationRequestHandler.Params
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- RevocationRequestHandler
public static class RevocationRequestHandler.Params extends Object implements Serializable
Parameters passed to theRevocationRequestHandler.handle(Params)
method.- Since:
- 2.79
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Params()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAuthorization()
Get the value of theAuthorization
header in the revocation request.String
getClientAttestation()
Get the value of theOAuth-Client-Attestation
HTTP header.String
getClientAttestationPop()
Get the value of theOAuth-Client-Attestation-PoP
HTTP header.String[]
getClientCertificatePath()
Get the path of the client's certificate, each in PEM format.javax.ws.rs.core.MultivaluedMap<String,String>
getParameters()
Get the request parameters of the revocation request.RevocationRequestHandler.Params
setAuthorization(String authorization)
Set the value of theAuthorization
header in the revocation request.RevocationRequestHandler.Params
setClientAttestation(String jwt)
Set the value of theOAuth-Client-Attestation
HTTP header.RevocationRequestHandler.Params
setClientAttestationPop(String jwt)
Set the value of theOAuth-Client-Attestation-PoP
HTTP header.RevocationRequestHandler.Params
setClientCertificatePath(String[] path)
Set the path of the client's certificate, each in PEM format.RevocationRequestHandler.Params
setParameters(javax.ws.rs.core.MultivaluedMap<String,String> parameters)
Set the request parameters of the revocation request.
-
-
-
Method Detail
-
getParameters
public javax.ws.rs.core.MultivaluedMap<String,String> getParameters()
Get the request parameters of the revocation request.- Returns:
- The request parameters.
-
setParameters
public RevocationRequestHandler.Params setParameters(javax.ws.rs.core.MultivaluedMap<String,String> parameters)
Set the request parameters of the revocation request.- Parameters:
parameters
- The request parameters.- Returns:
this
object.
-
getAuthorization
public String getAuthorization()
Get the value of theAuthorization
header in the revocation request. A pair of client ID and client secret is embedded there when the client authentication method isclient_secret_basic
.- Returns:
- The value of the
Authorization
header.
-
setAuthorization
public RevocationRequestHandler.Params setAuthorization(String authorization)
Set the value of theAuthorization
header in the revocation request. A pair of client ID and client secret is embedded there when the client authentication method isclient_secret_basic
.- Parameters:
authorization
- The value of theAuthorization
header.- Returns:
this
object.
-
getClientCertificatePath
public String[] getClientCertificatePath()
Get the path of the client's certificate, each in PEM format. The first item in the array is the client's certificate itself.- Returns:
- The path of the client's certificate.
- See Also:
- RFC 8705: OAuth 2.0 Mutual-TLS Client Authentication and Certificate-Bound Access Tokens
-
setClientCertificatePath
public RevocationRequestHandler.Params setClientCertificatePath(String[] path)
Set the path of the client's certificate, each in PEM format. The first item in the array is the client's certificate itself.- Parameters:
path
- The path of the client's certificate.- Returns:
this
object.- See Also:
- RFC 8705: OAuth 2.0 Mutual-TLS Client Authentication and Certificate-Bound Access Tokens
-
getClientAttestation
public String getClientAttestation()
Get the value of theOAuth-Client-Attestation
HTTP header.- Returns:
- The value of the
OAuth-Client-Attestation
HTTP header. - Since:
- Authlete 3.0
- See Also:
- OAuth 2.0 Attestation-Based Client Authentication
-
setClientAttestation
public RevocationRequestHandler.Params setClientAttestation(String jwt)
Set the value of theOAuth-Client-Attestation
HTTP header.- Parameters:
jwt
- The value of theOAuth-Client-Attestation
HTTP header.- Returns:
this
object.- Since:
- Authlete 3.0
- See Also:
- OAuth 2.0 Attestation-Based Client Authentication
-
getClientAttestationPop
public String getClientAttestationPop()
Get the value of theOAuth-Client-Attestation-PoP
HTTP header.- Returns:
- The value of the
OAuth-Client-Attestation-PoP
HTTP header. - Since:
- Authlete 3.0
- See Also:
- OAuth 2.0 Attestation-Based Client Authentication
-
setClientAttestationPop
public RevocationRequestHandler.Params setClientAttestationPop(String jwt)
Set the value of theOAuth-Client-Attestation-PoP
HTTP header.- Parameters:
jwt
- The value of theOAuth-Client-Attestation-PoP
HTTP header.- Returns:
this
object.- Since:
- Authlete 3.0
- See Also:
- OAuth 2.0 Attestation-Based Client Authentication
-
-