java.lang.Object | |
↳ | com.kinvey.java.core.KinveyClientRequestInitializer |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
KinveyClientRequestInitializer(String appKey, String appSecret, KinveyHeaders kinveyHeaders) | |||||||||||
KinveyClientRequestInitializer(String appKey, String appSecret, Credential credential, KinveyHeaders kinveyHeaders) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | getAppKey() | ||||||||||
String | getAppSecret() | ||||||||||
void |
initialize(AbstractKinveyClientRequest<?> request)
Sets the authentication header using credential, appkey is set and kinvey standard
headers are added to the request.
| ||||||||||
KinveyClientRequestInitializer | setCredential(Credential credential) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
appKey | application key, will be set on the request |
---|---|
appSecret | application secret, used for user management methods |
appKey | the key to set on the request |
---|---|
appSecret | application secret, used for user management methods |
credential | the authorization context for the request |
Sets the authentication header using credential, appkey is set and kinvey standard headers are added to the request.
request | the request to initialize |
---|
credential | valid authorization context obtained from KinveyAuthRequest |
---|