Class OAuthClientRequest.TokenRequestBuilder
- java.lang.Object
-
- org.apache.oltu.oauth2.client.request.OAuthClientRequest.OAuthRequestBuilder
-
- org.apache.oltu.oauth2.client.request.OAuthClientRequest.TokenRequestBuilder
-
- Enclosing class:
- OAuthClientRequest
public static class OAuthClientRequest.TokenRequestBuilder extends OAuthClientRequest.OAuthRequestBuilder
-
-
Constructor Summary
Constructors Constructor Description TokenRequestBuilder(java.lang.String url)
-
Method Summary
-
Methods inherited from class org.apache.oltu.oauth2.client.request.OAuthClientRequest.OAuthRequestBuilder
buildBodyMessage, buildHeaderMessage, buildQueryMessage
-
-
-
-
Method Detail
-
setGrantType
public OAuthClientRequest.TokenRequestBuilder setGrantType(GrantType grantType)
-
setClientId
public OAuthClientRequest.TokenRequestBuilder setClientId(java.lang.String clientId)
-
setClientSecret
public OAuthClientRequest.TokenRequestBuilder setClientSecret(java.lang.String secret)
-
setUsername
public OAuthClientRequest.TokenRequestBuilder setUsername(java.lang.String username)
-
setPassword
public OAuthClientRequest.TokenRequestBuilder setPassword(java.lang.String password)
-
setScope
public OAuthClientRequest.TokenRequestBuilder setScope(java.lang.String scope)
-
setCode
public OAuthClientRequest.TokenRequestBuilder setCode(java.lang.String code)
-
setRedirectURI
public OAuthClientRequest.TokenRequestBuilder setRedirectURI(java.lang.String uri)
-
setAssertion
public OAuthClientRequest.TokenRequestBuilder setAssertion(java.lang.String assertion)
-
setAssertionType
public OAuthClientRequest.TokenRequestBuilder setAssertionType(java.lang.String assertionType)
-
setRefreshToken
public OAuthClientRequest.TokenRequestBuilder setRefreshToken(java.lang.String token)
-
setParameter
public OAuthClientRequest.TokenRequestBuilder setParameter(java.lang.String paramName, java.lang.String paramValue)
-
-