예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="KinveyXamarin.KinveyClientRequestInitializer"/> class.
 /// </summary>
 /// <param name="appKey">App key.</param>
 /// <param name="appSecret">App secret.</param>
 /// <param name="headers">Headers.</param>
 /// <param name="credential">Credential.</param>
 public KinveyClientRequestInitializer(string appKey, string appSecret, KinveyHeaders headers, Credential credential)
 {
     this.appKey     = appKey;
     this.appSecret  = appSecret;
     this.headers    = headers;
     this.credential = credential;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="KinveyXamarin.KinveyClientRequestInitializer"/> class.
 /// </summary>
 /// <param name="appKey">App key.</param>
 /// <param name="appSecret">App secret.</param>
 /// <param name="headers">Headers.</param>
 public KinveyClientRequestInitializer(string appKey, string appSecret, KinveyHeaders headers) : this(appKey, appSecret, headers, default(Credential))
 {
 }