public interface AuthenticationRequest extends Request<Credentials>
Modifier and Type | Method and Description |
---|---|
AuthenticationRequest |
addAuthenticationParameters(java.util.Map<java.lang.String,java.lang.Object> parameters)
All all entries of the map as parameters of this request
|
AuthenticationRequest |
setAccessToken(java.lang.String accessToken)
Sets the 'access_token' parameter
|
AuthenticationRequest |
setConnection(java.lang.String connection)
Sets the 'connection' parameter
|
AuthenticationRequest |
setDevice(java.lang.String device)
Sets the 'device' parameter
|
AuthenticationRequest |
setGrantType(java.lang.String grantType)
Sets the 'grant_type' parameter
|
AuthenticationRequest |
setScope(java.lang.String scope)
Sets the 'scope' parameter.
|
AuthenticationRequest setGrantType(java.lang.String grantType)
grantType
- grant typeAuthenticationRequest setConnection(java.lang.String connection)
connection
- name of the connectionAuthenticationRequest setScope(java.lang.String scope)
scope
- a scope valueAuthenticationRequest setDevice(java.lang.String device)
device
- a device nameAuthenticationRequest setAccessToken(java.lang.String accessToken)
accessToken
- a access tokenAuthenticationRequest addAuthenticationParameters(java.util.Map<java.lang.String,java.lang.Object> parameters)
parameters
- to be added to the request