Class KinveyAuthRequest.Builder
Builder for an auth request.
Inheritance
Namespace: Kinvey
Assembly: Kinvey.dll
Syntax
public class Builder : object
Constructors
| Improve this Doc View SourceBuilder(AbstractKinveyClient, String, String, ThirdPartyIdentity, User)
Initializes a new instance of the class.
Declaration
public Builder(AbstractKinveyClient transport, string appKey, string appSecret, ThirdPartyIdentity identity, User user = null)
Parameters
Type | Name | Description |
---|---|---|
AbstractKinveyClient | transport | Transport. |
System.String | appKey | App key. |
System.String | appSecret | App secret. |
ThirdPartyIdentity | identity | Third party identity. |
User | user | [optional] Kinvey user. |
Builder(AbstractKinveyClient, String, String, User)
Initializes a new instance of the class.
Declaration
public Builder(AbstractKinveyClient transport, string appKey, string appSecret, User user = null)
Parameters
Type | Name | Description |
---|---|---|
AbstractKinveyClient | transport | Transport. |
System.String | appKey | App key. |
System.String | appSecret | App secret. |
User | user | [optional] User. |
Builder(AbstractKinveyClient, String, String, String, String, Dictionary<String, JToken>, User)
Initializes a new instance of the class.
Declaration
public Builder(AbstractKinveyClient transport, string appKey, string appSecret, string username, string password, Dictionary<string, JToken> customFieldsAndValues = null, User user = null)
Parameters
Type | Name | Description |
---|---|---|
AbstractKinveyClient | transport | Transport. |
System.String | appKey | App key. |
System.String | appSecret | App secret. |
System.String | username | Username. |
System.String | password | Password. |
Dictionary<System.String, JToken> | customFieldsAndValues | [optional] Custom fields and values. |
User | user | [optional] User. |
Properties
| Improve this Doc View SourceAppKey
Gets or sets the app key.
Declaration
public string AppKey { get; set; }
Property Value
Type | Description |
---|---|
System.String | The app key. |
AppKeyAuthentication
Gets the app key authentication.
Declaration
public IAuthenticator AppKeyAuthentication { get; }
Property Value
Type | Description |
---|---|
IAuthenticator | The app key authentication. |
Client
Gets the client.
Declaration
public AbstractKinveyClient Client { get; }
Property Value
Type | Description |
---|---|
AbstractKinveyClient | The client. |
Create
Gets or sets a value indicating whether this
Declaration
public bool Create { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
CustomFieldsAndValues
The CustomFieldsAndValues property represents custom fields and values for Kinvey auth request.
Declaration
public Dictionary<string, JToken> CustomFieldsAndValues { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<System.String, JToken> | The CustomFieldsAndValues property gets/sets the value of the Dictionary field, customFieldsAndValues. |
Identity
The Identity property represents the third party identity.
Declaration
public ThirdPartyIdentity Identity { get; set; }
Property Value
Type | Description |
---|---|
ThirdPartyIdentity | The Identity property gets/sets the value of the ThirdPartyIdentity field, identity. |
KinveyUser
Gets or sets the kinvey user.
Declaration
public User KinveyUser { get; set; }
Property Value
Type | Description |
---|---|
User | The kinvey user. |
Password
Gets or sets the password.
Declaration
public string Password { get; set; }
Property Value
Type | Description |
---|---|
System.String | The password. |
Username
Gets or sets the username.
Declaration
public string Username { get; set; }
Property Value
Type | Description |
---|---|
System.String | The username. |
Methods
| Improve this Doc View Sourcebuild()
Build the Auth Request.
Declaration
public KinveyAuthRequest build()
Returns
Type | Description |
---|---|
KinveyAuthRequest | Built Kinvey auth request. |