Package org.oa4mp.delegation.server.jwt
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 org.oa4mp.delegation.common.token.AccessTokengetAccessToken()The actual simple access token (usually used as the identifier for the claims-based AT.net.sf.json.JSONObjectgetPayload()The payload for this is the actual token created (payload is the middle of a JWT, e.g.)net.sf.json.JSONObjectgetUserMetaData()voidsetAccessToken(org.oa4mp.delegation.common.token.AccessToken accessToken)-
Methods inherited from interface org.oa4mp.delegation.server.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
org.oa4mp.delegation.common.token.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(org.oa4mp.delegation.common.token.AccessToken accessToken)
-
getUserMetaData
net.sf.json.JSONObject getUserMetaData()
-
getPayload
net.sf.json.JSONObject getPayload()
Description copied from interface:PayloadHandlerThe payload for this is the actual token created (payload is the middle of a JWT, e.g.)- Specified by:
getPayloadin interfacePayloadHandler- Returns:
-
-