Class OAuthASResponse.OAuthTokenResponseBuilder
- java.lang.Object
-
- org.apache.oltu.oauth2.common.message.OAuthResponse.OAuthResponseBuilder
-
- org.apache.oltu.oauth2.as.response.OAuthASResponse.OAuthTokenResponseBuilder
-
- Enclosing class:
- OAuthASResponse
public static class OAuthASResponse.OAuthTokenResponseBuilder extends OAuthResponse.OAuthResponseBuilder
-
-
Constructor Summary
Constructors Constructor Description OAuthTokenResponseBuilder(int responseCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OAuthASResponse.OAuthTokenResponseBuilder
location(java.lang.String location)
OAuthASResponse.OAuthTokenResponseBuilder
setAccessToken(java.lang.String token)
OAuthASResponse.OAuthTokenResponseBuilder
setExpiresIn(java.lang.String expiresIn)
OAuthASResponse.OAuthTokenResponseBuilder
setParam(java.lang.String key, java.lang.String value)
OAuthASResponse.OAuthTokenResponseBuilder
setRefreshToken(java.lang.String refreshToken)
OAuthASResponse.OAuthTokenResponseBuilder
setTokenType(java.lang.String tokenType)
-
Methods inherited from class org.apache.oltu.oauth2.common.message.OAuthResponse.OAuthResponseBuilder
buildBodyMessage, buildHeaderMessage, buildJSONMessage, buildQueryMessage, setScope
-
-
-
-
Method Detail
-
setAccessToken
public OAuthASResponse.OAuthTokenResponseBuilder setAccessToken(java.lang.String token)
-
setExpiresIn
public OAuthASResponse.OAuthTokenResponseBuilder setExpiresIn(java.lang.String expiresIn)
-
setRefreshToken
public OAuthASResponse.OAuthTokenResponseBuilder setRefreshToken(java.lang.String refreshToken)
-
setTokenType
public OAuthASResponse.OAuthTokenResponseBuilder setTokenType(java.lang.String tokenType)
-
setParam
public OAuthASResponse.OAuthTokenResponseBuilder setParam(java.lang.String key, java.lang.String value)
- Overrides:
setParam
in classOAuthResponse.OAuthResponseBuilder
-
location
public OAuthASResponse.OAuthTokenResponseBuilder location(java.lang.String location)
- Overrides:
location
in classOAuthResponse.OAuthResponseBuilder
-
-