Package com.authlete.jaxrs
Class IntrospectionRequestHandler.Params
- java.lang.Object
-
- com.authlete.jaxrs.IntrospectionRequestHandler.Params
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- IntrospectionRequestHandler
public static class IntrospectionRequestHandler.Params extends Object implements Serializable
Parameters passed to theIntrospectionRequestHandler.handle(Params)method.- Since:
- 2.63
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Params()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetHttpAcceptHeader()Get the value of the HTTPAcceptheader in the introspection request.com.authlete.common.types.JWEAlggetIntrospectionEncryptionAlg()Get the JWEalgalgorithm for encrypting the introspection response.com.authlete.common.types.JWEEncgetIntrospectionEncryptionEnc()Get the JWEencalgorithm for encrypting the introspection response.com.authlete.common.types.JWSAlggetIntrospectionSignAlg()Get the JWSalgalgorithm for signing the introspection response.javax.ws.rs.core.MultivaluedMap<String,String>getParameters()Get the request parameters of the introspection request.StringgetPublicKeyForEncryption()Get the public key for encrypting the introspection response with an asymmetric algorithm.URIgetRsUri()Get the URI of the resource server making the introspection request.StringgetSharedKeyForEncryption()Get the shared key for encrypting the introspection response with a symmetric algorithm.StringgetSharedKeyForSign()Get the shared key for signing the introspection response with a symmetric algorithm.booleanisWithHiddenProperties()Get the flag which indicates whether to include hidden properties associated with the token in the output.IntrospectionRequestHandler.ParamssetHttpAcceptHeader(String header)Set the value of the HTTPAcceptheader in the introspection request.IntrospectionRequestHandler.ParamssetIntrospectionEncryptionAlg(com.authlete.common.types.JWEAlg alg)Set the JWEalgalgorithm for encrypting the introspection response.IntrospectionRequestHandler.ParamssetIntrospectionEncryptionEnc(com.authlete.common.types.JWEEnc enc)Set the JWEencalgorithm for encrypting the introspection response.IntrospectionRequestHandler.ParamssetIntrospectionSignAlg(com.authlete.common.types.JWSAlg alg)Set the JWSalgalgorithm for signing the introspection response.IntrospectionRequestHandler.ParamssetParameters(javax.ws.rs.core.MultivaluedMap<String,String> parameters)Set the request parameters of the introspection request.IntrospectionRequestHandler.ParamssetPublicKeyForEncryption(String key)Set the public key for encrypting the introspection response with an asymmetric algorithm.IntrospectionRequestHandler.ParamssetRsUri(URI uri)Set the URI of the resource server making the introspection request.IntrospectionRequestHandler.ParamssetSharedKeyForEncryption(String key)Set the shared key for encrypting the introspection response with a symmetric algorithm.IntrospectionRequestHandler.ParamssetSharedKeyForSign(String key)Set the shared key for signing the introspection response with a symmetric algorithm.IntrospectionRequestHandler.ParamssetWithHiddenProperties(boolean with)Set the flag which indicates whether to include hidden properties associated with the token in the output.
-
-
-
Method Detail
-
getParameters
public javax.ws.rs.core.MultivaluedMap<String,String> getParameters()
Get the request parameters of the introspection request.- Returns:
- The request parameters of the introspection request.
-
setParameters
public IntrospectionRequestHandler.Params setParameters(javax.ws.rs.core.MultivaluedMap<String,String> parameters)
Set the request parameters of the introspection request.- Parameters:
parameters- The request parameters of the introspection request.- Returns:
thisobject.
-
isWithHiddenProperties
public boolean isWithHiddenProperties()
Get the flag which indicates whether to include hidden properties associated with the token in the output.- Returns:
trueif hidden properties are included in the output.
-
setWithHiddenProperties
public IntrospectionRequestHandler.Params setWithHiddenProperties(boolean with)
Set the flag which indicates whether to include hidden properties associated with the token in the output.- Parameters:
with-trueif hidden properties are included in the output.- Returns:
thisobject.
-
getRsUri
public URI getRsUri()
Get the URI of the resource server making the introspection request.- Returns:
- The URI of the resource server making the introspection request.
-
setRsUri
public IntrospectionRequestHandler.Params setRsUri(URI uri)
Set the URI of the resource server making the introspection request.- Parameters:
uri- The URI of the resource server making the introspection request.- Returns:
thisobject.
-
getHttpAcceptHeader
public String getHttpAcceptHeader()
Get the value of the HTTPAcceptheader in the introspection request.- Returns:
- The value of the HTTP
Acceptheader in the introspection request.
-
setHttpAcceptHeader
public IntrospectionRequestHandler.Params setHttpAcceptHeader(String header)
Set the value of the HTTPAcceptheader in the introspection request.- Parameters:
header- The value of the HTTPAcceptheader in the introspection request.- Returns:
thisobject.
-
getIntrospectionSignAlg
public com.authlete.common.types.JWSAlg getIntrospectionSignAlg()
Get the JWSalgalgorithm for signing the introspection response. This property corresponds tointrospection_signed_response_algdefined in " 6. Client Metadata" of " JWT Response for OAuth Token Introspection".- Returns:
- The JWS
algalgorithm for signing the introspection response. - See Also:
- JWT Response for OAuth Token Introspection
-
setIntrospectionSignAlg
public IntrospectionRequestHandler.Params setIntrospectionSignAlg(com.authlete.common.types.JWSAlg alg)
Set the JWSalgalgorithm for signing the introspection response. This property corresponds tointrospection_signed_response_algdefined in " 6. Client Metadata" of " JWT Response for OAuth Token Introspection".- Parameters:
alg- The JWSalgalgorithm for signing the introspection response.- Returns:
thisobject.- See Also:
- JWT Response for OAuth Token Introspection
-
getIntrospectionEncryptionAlg
public com.authlete.common.types.JWEAlg getIntrospectionEncryptionAlg()
Get the JWEalgalgorithm for encrypting the introspection response. This property corresponds tointrospection_encrypted_response_algdefined in " 6. Client Metadata" of " JWT Response for OAuth Token Introspection".- Returns:
- The JWE
algalgorithm for encrypting the introspection response. - See Also:
- JWT Response for OAuth Token Introspection
-
setIntrospectionEncryptionAlg
public IntrospectionRequestHandler.Params setIntrospectionEncryptionAlg(com.authlete.common.types.JWEAlg alg)
Set the JWEalgalgorithm for encrypting the introspection response. This property corresponds tointrospection_encrypted_response_algdefined in " 6. Client Metadata" of " JWT Response for OAuth Token Introspection".- Parameters:
alg- The JWEalgalgorithm for encrypting the introspection response.- Returns:
thisobject.- See Also:
- JWT Response for OAuth Token Introspection
-
getIntrospectionEncryptionEnc
public com.authlete.common.types.JWEEnc getIntrospectionEncryptionEnc()
Get the JWEencalgorithm for encrypting the introspection response. This property corresponds tointrospection_encrypted_response_encdefined in " 6. Client Metadata" of " JWT Response for OAuth Token Introspection".- Returns:
- The JWE
encalgorithm for encrypting the introspection response. - See Also:
- JWT Response for OAuth Token Introspection
-
setIntrospectionEncryptionEnc
public IntrospectionRequestHandler.Params setIntrospectionEncryptionEnc(com.authlete.common.types.JWEEnc enc)
Set the JWEencalgorithm for encrypting the introspection response. This property corresponds tointrospection_encrypted_response_encdefined in " 6. Client Metadata" of " JWT Response for OAuth Token Introspection".- Parameters:
enc- The JWEencalgorithm for encrypting the introspection response.- Returns:
thisobject.- See Also:
- JWT Response for OAuth Token Introspection
-
getSharedKeyForSign
public String getSharedKeyForSign()
Get the shared key for signing the introspection response with a symmetric algorithm.- Returns:
- The shared key for signing the introspection response with a symmetric algorithm.
- See Also:
- JWT Response for OAuth Token Introspection
-
setSharedKeyForSign
public IntrospectionRequestHandler.Params setSharedKeyForSign(String key)
Set the shared key for signing the introspection response with a symmetric algorithm.- Parameters:
key- The shared key for signing the introspection response with a symmetric algorithm.- Returns:
thisobject.- See Also:
- JWT Response for OAuth Token Introspection
-
getSharedKeyForEncryption
public String getSharedKeyForEncryption()
Get the shared key for encrypting the introspection response with a symmetric algorithm.- Returns:
- The shared key for encrypting the introspection response with a symmetric algorithm.
- See Also:
- JWT Response for OAuth Token Introspection
-
setSharedKeyForEncryption
public IntrospectionRequestHandler.Params setSharedKeyForEncryption(String key)
Set the shared key for encrypting the introspection response with a symmetric algorithm.- Parameters:
key- The shared key for encrypting the introspection response with a symmetric algorithm.- Returns:
thisobject.- See Also:
- JWT Response for OAuth Token Introspection
-
getPublicKeyForEncryption
public String getPublicKeyForEncryption()
Get the public key for encrypting the introspection response with an asymmetric algorithm.- Returns:
- The public key for encrypting the introspection response with an asymmetric algorithm.
- See Also:
- JWT Response for OAuth Token Introspection
-
setPublicKeyForEncryption
public IntrospectionRequestHandler.Params setPublicKeyForEncryption(String key)
Set the public key for encrypting the introspection response with an asymmetric algorithm.- Parameters:
key- The public key for encrypting the introspection response with an asymmetric algorithm.- Returns:
thisobject.- See Also:
- JWT Response for OAuth Token Introspection
-
-