public class OA2ServiceTransaction extends OA4MPServiceTransaction implements OA2TransactionScopes
Created by Jeff Gaynor
on 2/28/14 at 1:46 PM
Modifier and Type | Field and Description |
---|---|
String |
CLAIMS_KEY |
String |
FLOW_STATE_KEY |
String |
STATE_COMMENT_KEY |
String |
STATE_KEY |
accessTokenValid, authGrantValid
Constructor and Description |
---|
OA2ServiceTransaction(AuthorizationGrant ag) |
OA2ServiceTransaction(Identifier identifier) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
protected String |
formatToString() |
Date |
getAuthTime() |
net.sf.json.JSONObject |
getClaims() |
FlowStates |
getFlowStates() |
String |
getNonce() |
OA2Client |
getOA2Client()
Convenience cast.
|
RefreshToken |
getRefreshToken() |
long |
getRefreshTokenLifetime() |
Collection<String> |
getScopes()
The resolved scopes for this transaction.
|
net.sf.json.JSONObject |
getState() |
boolean |
hasAuthTime() |
boolean |
hasRefreshToken() |
boolean |
isRefreshTokenValid() |
void |
setAuthTime(Date authTime) |
void |
setClaims(net.sf.json.JSONObject claims) |
void |
setFlowStates(FlowStates flowStates) |
void |
setNonce(String nonce) |
void |
setRefreshToken(RefreshToken refreshToken) |
void |
setRefreshTokenLifetime(long refreshTokenLifetime) |
void |
setRefreshTokenValid(boolean refreshTokenValid) |
void |
setScopes(Collection<String> scopes) |
void |
setState(net.sf.json.JSONObject state) |
String |
toString() |
getMyproxyUsername, setMyproxyUsername
getCallback, getCertReq, getCertReqString, getClient, getLifetime, getUsername, isAccessTokenValid, isAuthGrantValid, setAccessTokenValid, setAuthGrantValid, setCallback, setCertReq, setCertReq, setCertReqString, setClient, setLifetime, setUsername
getAccessToken, getAuthorizationGrant, getProtectedAsset, getVerifier, hasAccessToken, hasAuthorizationGrant, hasProtectedAsset, hasVerifier, setAccessToken, setAuthorizationGrant, setProtectedAsset, setVerifier
clone, getIdentifier, getIdentifierString, setIdentifier
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone, getIdentifier, getIdentifierString, setIdentifier
public String FLOW_STATE_KEY
public String STATE_KEY
public String STATE_COMMENT_KEY
public String CLAIMS_KEY
public OA2ServiceTransaction(AuthorizationGrant ag)
public OA2ServiceTransaction(Identifier identifier)
public OA2Client getOA2Client()
public FlowStates getFlowStates()
public void setState(net.sf.json.JSONObject state)
public net.sf.json.JSONObject getState()
public void setFlowStates(FlowStates flowStates)
public net.sf.json.JSONObject getClaims()
getClaims
in interface OA2TransactionScopes
public void setClaims(net.sf.json.JSONObject claims)
public boolean hasAuthTime()
public Date getAuthTime()
public void setAuthTime(Date authTime)
public Collection<String> getScopes()
ClaimSource
.getScopes
in interface OA2TransactionScopes
public void setScopes(Collection<String> scopes)
public String getNonce()
public void setNonce(String nonce)
public boolean isRefreshTokenValid()
public void setRefreshTokenValid(boolean refreshTokenValid)
public long getRefreshTokenLifetime()
public void setRefreshTokenLifetime(long refreshTokenLifetime)
public boolean hasRefreshToken()
public RefreshToken getRefreshToken()
public void setRefreshToken(RefreshToken refreshToken)
protected String formatToString()
formatToString
in class OA4MPServiceTransaction
public String toString()
toString
in class ServiceTransaction
public boolean equals(Object obj)
equals
in class OA4MPServiceTransaction
Copyright © 2019. All Rights Reserved.