Class AuthenticationTokensObject
- java.lang.Object
-
- org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
-
- org.nuxeo.ecm.restapi.server.jaxrs.login.tokenauth.AuthenticationTokensObject
-
public class AuthenticationTokensObject extends AbstractResource<ResourceTypeImpl>
Token Object- Since:
- 8.3
-
-
Constructor Summary
Constructors Constructor Description AuthenticationTokensObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
createToken(String applicationName, String deviceId, String deviceDescription, String permission)
void
deleteToken(String tokenId)
List<AuthenticationToken>
getTokens(String applicationName)
protected void
initialize(Object... args)
-
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResource
checkGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isAdapter, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
-
-
-
-
Method Detail
-
initialize
protected void initialize(Object... args)
- Overrides:
initialize
in classAbstractResource<ResourceTypeImpl>
-
getTokens
public List<AuthenticationToken> getTokens(String applicationName)
-
createToken
public javax.ws.rs.core.Response createToken(String applicationName, String deviceId, String deviceDescription, String permission)
-
deleteToken
public void deleteToken(String tokenId)
-
-