Class KinveyAuthRequest
Kinvey auth request, used for creation/login and setting the session on the client.
Inheritance
System.Object
KinveyAuthRequest
Namespace: Kinvey
Assembly: Kinvey.dll
Syntax
public class KinveyAuthRequest : object
Constructors
| Improve this Doc View SourceKinveyAuthRequest()
Initializes a new instance of the KinveyAuthRequest class.
Declaration
public KinveyAuthRequest()
KinveyAuthRequest(AbstractKinveyClient, IAuthenticator, String, ThirdPartyIdentity, User, Boolean)
Initializes a new instance of the KinveyAuthRequest class.
Declaration
public KinveyAuthRequest(AbstractKinveyClient client, IAuthenticator auth, string appKey, ThirdPartyIdentity identity, User user, bool create)
Parameters
Type | Name | Description |
---|---|---|
AbstractKinveyClient | client | Client. |
IAuthenticator | auth | authenticator to use. |
System.String | appKey | App key. |
ThirdPartyIdentity | identity | The third party identity. |
User | user | User. |
System.Boolean | create | If set to |
KinveyAuthRequest(AbstractKinveyClient, IAuthenticator, String, String, String, Dictionary<String, JToken>, User, Boolean)
Initializes a new instance of the KinveyAuthRequest class.
Declaration
public KinveyAuthRequest(AbstractKinveyClient client, IAuthenticator auth, string appKey, string username, string password, Dictionary<string, JToken> customFieldsAndValues, User user, bool create)
Parameters
Type | Name | Description |
---|---|---|
AbstractKinveyClient | client | Client. |
IAuthenticator | auth | authenticator to use. |
System.String | appKey | App key. |
System.String | username | Username. |
System.String | password | Password. |
Dictionary<System.String, JToken> | customFieldsAndValues | Custom fields and values. |
User | user | User. |
System.Boolean | create | If set to |
Methods
| Improve this Doc View SourcebuildRequestPayload()
Builds payload for request.
Declaration
public void buildRequestPayload()
ExecuteAsync()
Executes this request async and parses the result.
Declaration
public Task<KinveyAuthResponse> ExecuteAsync()
Returns
Type | Description |
---|---|
Task<KinveyAuthResponse> | The async request. |
ExecuteUnparsedAsync()
Executes the request async without parsing it.
Declaration
public Task<HttpResponseMessage> ExecuteUnparsedAsync()
Returns
Type | Description |
---|---|
Task<HttpResponseMessage> | The unparsed async. |