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 String
getClientId()
String
getClientSecret()
String
getCode()
GrantType
getGrantType()
String
getPassword()
String
getRedirectUri()
String
getScope()
String
getState()
String
getUserId()
void
setClientId(String clientId)
void
setClientSecret(String clientSecret)
void
setCode(String code)
void
setGrantType(GrantType grantType)
void
setPassword(String password)
void
setRedirectUri(String redirectUri)
void
setScope(String scope)
void
setState(String state)
void
setUserId(String userId)
String
toString()
-
-
-
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)
-
-