Class RFC7662Request
- java.lang.Object
-
- org.oa4mp.delegation.client.request.BasicRequest
-
- org.oa4mp.delegation.client.request.RFC7662Request
-
- All Implemented Interfaces:
Request
- Direct Known Subclasses:
RFC7009Request
public class RFC7662Request extends BasicRequest
Note that since this uses bearer tokens, the access token must always be supplied.Created by Jeff Gaynor
on 5/19/21 at 6:15 AM
-
-
Constructor Summary
Constructors Constructor Description RFC7662Request()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessTokenImpl
getAccessToken()
RefreshTokenImpl
getRefreshToken()
URI
getTokenEndpoint()
boolean
hasAccessToken()
boolean
hasRefreshToken()
Response
process(Server server)
Process the requestvoid
setAccessToken(AccessTokenImpl accessToken)
void
setRefreshToken(RefreshTokenImpl refreshToken)
void
setTokenEndpoint(URI tokenEndpoint)
-
Methods inherited from class edu.uiuc.ncsa.oa4mp.delegation.client.request.BasicRequest
getClient, getKeyID, getParameters, hasKeyID, setClient, setKeyID, setParameters
-
-
-
-
Method Detail
-
process
public Response process(Server server)
Description copied from interface:Request
Process the request- Specified by:
process
in interfaceRequest
- Overrides:
process
in classBasicRequest
- Returns:
-
hasAccessToken
public boolean hasAccessToken()
-
hasRefreshToken
public boolean hasRefreshToken()
-
getAccessToken
public AccessTokenImpl getAccessToken()
-
setAccessToken
public void setAccessToken(AccessTokenImpl accessToken)
-
getRefreshToken
public RefreshTokenImpl getRefreshToken()
-
setRefreshToken
public void setRefreshToken(RefreshTokenImpl refreshToken)
-
getTokenEndpoint
public URI getTokenEndpoint()
-
setTokenEndpoint
public void setTokenEndpoint(URI tokenEndpoint)
-
-