Package io.jans.as.client
Class TokenRevocationRequest
- java.lang.Object
-
- io.jans.as.client.BaseRequest
-
- io.jans.as.client.ClientAuthnRequest
-
- io.jans.as.client.TokenRevocationRequest
-
public class TokenRevocationRequest extends ClientAuthnRequest
- Version:
- January 16, 2019
- Author:
- Javier Rojas Blum
-
-
Constructor Summary
Constructors Constructor Description TokenRevocationRequest()
Constructs a token revocation request.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getQueryString()
Returns a query string with the parameters of the toke revocation request.String
getToken()
io.jans.as.model.common.TokenTypeHint
getTokenTypeHint()
void
setToken(String token)
void
setTokenTypeHint(io.jans.as.model.common.TokenTypeHint tokenTypeHint)
-
Methods inherited from class io.jans.as.client.ClientAuthnRequest
appendClientAuthnToQuery, getAlgorithm, getAudience, getClientAssertion, getCryptoProvider, getFallbackAlgorithm, getKeyId, getSharedKey, setAlgorithm, setAudience, setCryptoProvider, setKeyId, setSharedKey
-
Methods inherited from class io.jans.as.client.BaseRequest
addCustomParameter, getAuthenticationMethod, getAuthorizationMethod, getAuthPassword, getAuthUsername, getContentType, getCredentials, getCustomParameters, getEncodedCredentials, getEncodedCredentials, getJSONParameters, getMediaType, getParameters, hasCredentials, setAuthenticationMethod, setAuthorizationMethod, setAuthPassword, setAuthUsername, setContentType, setMediaType
-
-
-
-
Method Detail
-
getToken
public String getToken()
-
setToken
public void setToken(String token)
-
getTokenTypeHint
public io.jans.as.model.common.TokenTypeHint getTokenTypeHint()
-
setTokenTypeHint
public void setTokenTypeHint(io.jans.as.model.common.TokenTypeHint tokenTypeHint)
-
getQueryString
public String getQueryString()
Returns a query string with the parameters of the toke revocation request. Anynull
or empty parameter will be omitted.- Specified by:
getQueryString
in classBaseRequest
- Returns:
- A query string of parameters.
-
-