Class AccessTokenConfig
- java.lang.Object
-
- org.oa4mp.server.loader.oauth2.claims.AbstractPayloadConfig
-
- org.oa4mp.server.loader.oauth2.tokens.AbstractCommonATandRTConfig
-
- org.oa4mp.server.loader.oauth2.tokens.AccessTokenConfig
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SciTokenConfig
,WLCGConfig
public class AccessTokenConfig extends AbstractCommonATandRTConfig
Common configuration for all access tokens. This includes things like the lifetime, issuer and what not.Created by Jeff Gaynor
on 7/28/20 at 7:51 AM- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
TEMPLATES_KEY
-
Fields inherited from class edu.uiuc.ncsa.myproxy.oa4mp.oauth2.tokens.AbstractCommonATandRTConfig
AUDIENCE_KEY, ISSUER_KEY, RESOURCE_KEY, SUBJECT_KEY
-
Fields inherited from class edu.uiuc.ncsa.myproxy.oa4mp.oauth2.claims.AbstractPayloadConfig
CREATE_TS_KEY, ID_KEY, LIFETIME_KEY, type, TYPE_KEY, VERSIONS_KEY
-
-
Constructor Summary
Constructors Constructor Description AccessTokenConfig()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fromJSON(net.sf.json.JSONObject jsonObject)
AuthorizationTemplates
getTemplates()
String
getType()
static void
main(String[] args)
void
setTemplates(AuthorizationTemplates templates)
net.sf.json.JSONObject
toJSON()
-
Methods inherited from class edu.uiuc.ncsa.myproxy.oa4mp.oauth2.tokens.AbstractCommonATandRTConfig
getAudience, getIssuer, getResource, getSubject, hasSubject, setAudience, setIssuer, setResource, setSubject
-
Methods inherited from class edu.uiuc.ncsa.myproxy.oa4mp.oauth2.claims.AbstractPayloadConfig
getCreationTS, getId, getLifetime, getScriptSet, getVersions, setCreationTS, setId, setLifetime, setScriptSet, setType, setVersions
-
-
-
-
Field Detail
-
TEMPLATES_KEY
public static String TEMPLATES_KEY
-
-
Method Detail
-
fromJSON
public void fromJSON(net.sf.json.JSONObject jsonObject)
- Overrides:
fromJSON
in classAbstractCommonATandRTConfig
-
toJSON
public net.sf.json.JSONObject toJSON()
- Overrides:
toJSON
in classAbstractCommonATandRTConfig
-
getTemplates
public AuthorizationTemplates getTemplates()
-
setTemplates
public void setTemplates(AuthorizationTemplates templates)
-
main
public static void main(String[] args)
-
getType
public String getType()
- Overrides:
getType
in classAbstractPayloadConfig
-
-