Interface AccessTokenHandlerInterface
-
- All Superinterfaces:
PayloadHandler
,Serializable
public interface AccessTokenHandlerInterface extends PayloadHandler
Created by Jeff Gaynor
on 7/24/20 at 7:28 AM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccessToken
getAccessToken()
The actual simple access token (usually used as the identifier for the claims-based AT.net.sf.json.JSONObject
getPayload()
The payload for this is the actual token created (payload is the middle of a JWT, e.g.)net.sf.json.JSONObject
getUserMetaData()
void
setAccessToken(AccessToken accessToken)
-
Methods inherited from interface edu.uiuc.ncsa.oa4mp.delegation.oa2.jwt.PayloadHandler
addRequestState, checkClaims, execute, finish, getExtendedAttributes, getPhCfg, getResponseCode, getSignedPayload, getSignedPayload, getSources, handleResponse, hasScript, init, refresh, refreshAccountingInformation, saveState, setAccountingInformation, setPayload, setPhCfg, setResponseCode
-
-
-
-
Method Detail
-
getAccessToken
AccessToken getAccessToken()
The actual simple access token (usually used as the identifier for the claims-based AT. To get the signed claims, invokePayloadHandler.getSignedPayload(JSONWebKey, String)
(JSONWebKey)}.- Returns:
-
setAccessToken
void setAccessToken(AccessToken accessToken)
-
getUserMetaData
net.sf.json.JSONObject getUserMetaData()
-
getPayload
net.sf.json.JSONObject getPayload()
Description copied from interface:PayloadHandler
The payload for this is the actual token created (payload is the middle of a JWT, e.g.)- Specified by:
getPayload
in interfacePayloadHandler
- Returns:
-
-