Class KinveyClientRequestInitializer
The class is for initializing of Kinvey client request.
Inheritance
System.Object
KinveyClientRequestInitializer
Implements
Namespace: Kinvey
Assembly: Kinvey.dll
Syntax
public class KinveyClientRequestInitializer : object, IKinveyRequestInitializer
Constructors
| Improve this Doc View SourceKinveyClientRequestInitializer(String, String, KinveyHeaders)
Initializes a new instance of the
Declaration
public KinveyClientRequestInitializer(string appKey, string appSecret, KinveyHeaders headers)
Parameters
Type | Name | Description |
---|---|---|
System.String | appKey | App key. |
System.String | appSecret | App secret. |
KinveyHeaders | headers | Headers. |
KinveyClientRequestInitializer(String, String, KinveyHeaders, Credential)
Initializes a new instance of the
Declaration
public KinveyClientRequestInitializer(string appKey, string appSecret, KinveyHeaders headers, Credential credential)
Parameters
Type | Name | Description |
---|---|---|
System.String | appKey | App key. |
System.String | appSecret | App secret. |
KinveyHeaders | headers | Headers. |
Credential | credential | Credential. |
Properties
| Improve this Doc View SourceAppKey
Gets the app key.
Declaration
public string AppKey { get; }
Property Value
Type | Description |
---|---|
System.String | The app key. |
AppSecret
Gets the app secret.
Declaration
public string AppSecret { get; }
Property Value
Type | Description |
---|---|
System.String | The app secret. |
AuthServiceID
Gets the auth service ID.
Declaration
public string AuthServiceID { get; }
Property Value
Type | Description |
---|---|
System.String | The AuthServiceID property gets the value of the string field, _authServiceID. |
Headers
Gets the headers.
Declaration
public KinveyHeaders Headers { get; }
Property Value
Type | Description |
---|---|
KinveyHeaders | The headers. |
KinveyCredential
Sets the Kinvey credential.
Declaration
public Credential KinveyCredential { set; }
Property Value
Type | Description |
---|---|
Credential | The Kinvey credential. |
Methods
| Improve this Doc View SourceInitialize<T>(AbstractKinveyClientRequest<T>, String)
Initialize the specified request.
Declaration
public void Initialize<T>(AbstractKinveyClientRequest<T> request, string clientId = null)
Parameters
Type | Name | Description |
---|---|---|
AbstractKinveyClientRequest<T> | request | Request. |
System.String | clientId | [optional] Client ID. |
Type Parameters
Name | Description |
---|---|
T | The response type of the request. |