org.surfnet.oaaas.model
Class AccessTokenRequest
java.lang.Object
org.surfnet.oaaas.model.AccessTokenRequest
public class AccessTokenRequest
- extends Object
Representation of the AccessToken request defined in the spec
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AccessTokenRequest
public AccessTokenRequest()
fromMultiValuedFormParameters
public static AccessTokenRequest fromMultiValuedFormParameters(javax.ws.rs.core.MultivaluedMap<String,String> formParameters)
getGrantType
public String getGrantType()
- Returns:
- the grantType
setGrantType
public void setGrantType(String grantType)
- Parameters:
grantType - the grantType to set
getCode
public String getCode()
- Returns:
- the code
setCode
public void setCode(String code)
- Parameters:
code - the code to set
getRedirectUri
public String getRedirectUri()
- Returns:
- the redirectUri
setRedirectUri
public void setRedirectUri(String redirectUri)
- Parameters:
redirectUri - the redirectUri to set
getClientId
public String getClientId()
- Returns:
- the clientId
setClientId
public void setClientId(String clientId)
- Parameters:
clientId - the clientId to set
getClientSecret
public String getClientSecret()
- Returns:
- the clientSecret
setClientSecret
public void setClientSecret(String clientSecret)
- Parameters:
clientSecret - the clientSecret to set
getRefreshToken
public String getRefreshToken()
- Returns:
- the refreshToken
setRefreshToken
public void setRefreshToken(String refreshToken)
- Parameters:
refreshToken - the refreshToken to set
getScope
public String getScope()
- Returns:
- the scope
setScope
public void setScope(String scope)
- Parameters:
scope - the scope to set
getClient
public Client getClient()
setClient
public void setClient(Client client)
Copyright © 2012-2013 SURFnet bv, The Netherlands. All Rights Reserved.