Package org.ametys.plugins.site.token
Interface GetToken
-
- All Known Implementing Classes:
MobileappToken
,RequestParamToken
,WebdavToken
public interface GetToken
Component responsible for extracting token from an incoming request.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getToken(Request request)
Get an authentication token from the request, if any.String
getTokenContext(Request request)
Get an authentication token context from the request, if any.
-
-
-
Method Detail
-
getToken
String getToken(Request request)
Get an authentication token from the request, if any.- Parameters:
request
- the current request.- Returns:
- the token or null if it doesn't exist.
-
getTokenContext
String getTokenContext(Request request)
Get an authentication token context from the request, if any.- Parameters:
request
- the current request.- Returns:
- the token context or null if it doesn't exist.
-
-