public class DS2 extends DelegationService
Created by Jeff Gaynor
on 11/25/13 at 2:20 PM
Constructor and Description |
---|
DS2(AGServer agServer,
ATServer atServer,
PAServer paServer,
UIServer2 uiServer,
RTServer rtServer)
Constructor
|
Modifier and Type | Method and Description |
---|---|
URI |
createRedirectURL(DelegationRequest delegationAssetRequest,
AGResponse agResp)
Creates redirect URL
|
RTServer |
getRtServer() |
UIServer2 |
getUiServer()
Getter for UIServer
|
UIResponse |
getUserInfo(UIRequest uiRequest) |
DelegationResponse |
processDelegationRequest(DelegationRequest delegationRequest)
Starts the delegation process.
|
RTResponse |
refresh(RTRequest refreshTokenRequest)
As per spec., issue request for refresh from server.
|
void |
setRtServer(RTServer rtServer) |
getAgServer, getAT, getAT, getAT, getAtServer, getCert, getPaServer, process, processAssetRequest
public DS2(AGServer agServer, ATServer atServer, PAServer paServer, UIServer2 uiServer, RTServer rtServer)
agServer
- Authorization grant handler for clientatServer
- Access token handler for clientpaServer
- Protected asset (cert) request handler for clientuiServer
- UserInfo handler for clientpublic UIServer2 getUiServer()
public UIResponse getUserInfo(UIRequest uiRequest)
public RTServer getRtServer()
public void setRtServer(RTServer rtServer)
public RTResponse refresh(RTRequest refreshTokenRequest)
RTResponse
has the associated
RefreshToken
and AccessToken
.public DelegationResponse processDelegationRequest(DelegationRequest delegationRequest)
DelegationService
processDelegationRequest
in class DelegationService
public URI createRedirectURL(DelegationRequest delegationAssetRequest, AGResponse agResp)
createRedirectURL
in class DelegationService
delegationAssetRequest
- Delegation asset requestagResp
- Authorization grant responseCopyright © 2019. All Rights Reserved.