Class TokenRequest
- java.lang.Object
-
- org.apache.archiva.redback.rest.api.model.v2.TokenRequest
-
- All Implemented Interfaces:
Serializable
public class TokenRequest extends Object implements Serializable
- Author:
- Martin Stockhammer
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TokenRequest()TokenRequest(String userId, String password)TokenRequest(String userId, String password, String scope)TokenRequest(String userId, String password, GrantType grantType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClientId()StringgetClientSecret()StringgetCode()GrantTypegetGrantType()StringgetPassword()StringgetRedirectUri()StringgetScope()StringgetState()StringgetUserId()voidsetClientId(String clientId)voidsetClientSecret(String clientSecret)voidsetCode(String code)voidsetGrantType(GrantType grantType)voidsetPassword(String password)voidsetRedirectUri(String redirectUri)voidsetScope(String scope)voidsetState(String state)voidsetUserId(String userId)StringtoString()
-
-
-
Constructor Detail
-
TokenRequest
public TokenRequest()
-
TokenRequest
public TokenRequest(String userId, String password)
-
TokenRequest
public TokenRequest(String userId, String password, String scope)
-
TokenRequest
public TokenRequest(String userId, String password, GrantType grantType)
-
-
Method Detail
-
getGrantType
public GrantType getGrantType()
-
setGrantType
public void setGrantType(GrantType grantType)
-
getClientId
public String getClientId()
-
setClientId
public void setClientId(String clientId)
-
getClientSecret
public String getClientSecret()
-
setClientSecret
public void setClientSecret(String clientSecret)
-
getPassword
public String getPassword()
-
setPassword
public void setPassword(String password)
-
getRedirectUri
public String getRedirectUri()
-
setRedirectUri
public void setRedirectUri(String redirectUri)
-
-