@Deprecated public class TokenAuthServerResource extends OAuthServerResource
OAuthResourceDefs.TOKEN_TYPE_BEARER token type only.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
LOCAL_ACCESS_ONLY
Deprecated.
|
clients, PARAMETER_DEFAULT_SCOPE, tokensACCESS_TOKEN, CLIENT_ID, CLIENT_SECRET, CODE, ERROR, ERROR_DESC, ERROR_URI, EXPIRES_IN, GRANT_TYPE, PASSWORD, REDIR_URI, REFRESH_TOKEN, RESPONSE_TYPE, SCOPE, STATE, TOKEN_TYPE, TOKEN_TYPE_BEARER, TOKEN_TYPE_MAC, USERNAME| Constructor and Description |
|---|
TokenAuthServerResource()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Representation |
authenticate(Representation input)
Deprecated.
Checks that the given JSON representation is valid, accordingly to the type of token it contains.
|
protected void |
doCatch(java.lang.Throwable t)
Deprecated.
|
addCacheDirective, doInit, getClient, getScope, getState, responseErrorRepresentationabort, commit, delete, delete, describeVariants, doConditionalHandle, doError, doHandle, doHandle, doHandle, doNegotiatedHandle, get, get, getAnnotation, getAnnotation, getAnnotations, getAttribute, getDescription, getInfo, getInfo, getName, getOnSent, getPreferredVariant, getRole, getVariants, getVariants, handle, hasAnnotations, head, head, isAnnotated, isAutoCommitting, isCommitted, isConditional, isExisting, isInRole, isNegotiated, options, options, patch, patch, post, post, put, put, redirectPermanent, redirectPermanent, redirectSeeOther, redirectSeeOther, redirectTemporary, redirectTemporary, setAllowedMethods, setAnnotated, setAttribute, setAutoCommitting, setChallengeRequests, setCommitted, setConditional, setCookieSettings, setDescription, setDimensions, setExisting, setLocationRef, setLocationRef, setName, setNegotiated, setOnSent, setProxyChallengeRequests, setServerInfo, setStatus, setStatus, setStatus, setStatus, updateAllowedMethods, updateDimensionsdoError, doRelease, getAllowedMethods, getApplication, getChallengeRequests, getChallengeResponse, getClientInfo, getConditions, getConnegService, getContext, getConverterService, getCookies, getCookieSettings, getDimensions, getHostRef, getLocationRef, getLogger, getMatrix, getMatrixValue, getMaxForwards, getMetadataService, getMethod, getOriginalRef, getProtocol, getProxyChallengeRequests, getProxyChallengeResponse, getQuery, getQueryValue, getRanges, getReference, getReferrerRef, getRequest, getRequestAttributes, getRequestCacheDirectives, getRequestEntity, getResponse, getResponseAttributes, getResponseCacheDirectives, getResponseEntity, getRootRef, getServerInfo, getStatus, getStatusService, init, isConfidential, isLoggable, release, setApplication, setQueryValue, setRequest, setResponse, toBoolean, toByte, toDouble, toFloat, toInteger, toLong, toObject, toRepresentation, toRepresentation, toRepresentation, toShort, toStringpublic static final java.lang.String LOCAL_ACCESS_ONLY
@Post(value="json") public Representation authenticate(Representation input) throws java.lang.Exception
input - The JSON representation to validate.java.lang.Exceptionprotected void doCatch(java.lang.Throwable t)
doCatch in class ServerResourceCopyright © 2005-2024 Restlet.