Class OAuthRedirectionState
- java.lang.Object
-
- org.apache.cxf.rs.security.oauth2.common.OAuthRedirectionState
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
OAuthAuthorizationData
public class OAuthRedirectionState extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OAuthRedirectionState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAudience()StringgetClientCodeChallenge()StringgetClientCodeChallengeMethod()StringgetClientId()Gets the client id which needs to be retained in a hidden form fieldMap<String,String>getExtraProperties()StringgetNonce()StringgetProposedScope()Gets the requested scope which needs to be retained in a hidden form fieldStringgetRedirectUri()Gets the redirect uri which needs to be retained in a hidden form fieldStringgetResponseType()StringgetState()Gets the client state token which needs to be retained in a hidden form fieldvoidsetAudience(String audience)voidsetClientCodeChallenge(String clientCodeChallenge)voidsetClientCodeChallengeMethod(String clientCodeChallengeMethod)voidsetClientId(String clientId)Sets the client id which needs to be retained in a hidden form fieldvoidsetExtraProperties(Map<String,String> extraProperties)voidsetNonce(String nonce)voidsetProposedScope(String proposedScope)Sets the requested scope which needs to be retained in a hidden form fieldvoidsetRedirectUri(String redirectUri)Sets the redirect uri which needs to be retained in a hidden form fieldvoidsetResponseType(String responseType)voidsetState(String state)Sets the client state token which needs to be retained in a hidden form field
-
-
-
Method Detail
-
setClientId
public void setClientId(String clientId)
Sets the client id which needs to be retained in a hidden form field- Parameters:
clientId- the client id
-
getClientId
public String getClientId()
Gets the client id which needs to be retained in a hidden form field- Returns:
- the client id
-
setRedirectUri
public void setRedirectUri(String redirectUri)
Sets the redirect uri which needs to be retained in a hidden form field- Parameters:
redirectUri- the redirect uri
-
getRedirectUri
public String getRedirectUri()
Gets the redirect uri which needs to be retained in a hidden form field- Returns:
- the redirect uri
-
setState
public void setState(String state)
Sets the client state token which needs to be retained in a hidden form field- Parameters:
state- the state
-
getState
public String getState()
Gets the client state token which needs to be retained in a hidden form field- Returns:
-
setProposedScope
public void setProposedScope(String proposedScope)
Sets the requested scope which needs to be retained in a hidden form field- Parameters:
proposedScope- the scope
-
getProposedScope
public String getProposedScope()
Gets the requested scope which needs to be retained in a hidden form field- Returns:
- the scope
-
getAudience
public String getAudience()
-
setAudience
public void setAudience(String audience)
-
getClientCodeChallenge
public String getClientCodeChallenge()
-
setClientCodeChallenge
public void setClientCodeChallenge(String clientCodeChallenge)
-
getNonce
public String getNonce()
-
setNonce
public void setNonce(String nonce)
-
getResponseType
public String getResponseType()
-
setResponseType
public void setResponseType(String responseType)
-
getClientCodeChallengeMethod
public String getClientCodeChallengeMethod()
-
setClientCodeChallengeMethod
public void setClientCodeChallengeMethod(String clientCodeChallengeMethod)
-
-