Class NativeCredential
Native credential.
Inheritance
System.Object
NativeCredential
Namespace: Kinvey
Assembly: Kinvey.dll
Syntax
public class NativeCredential : object
Constructors
| Improve this Doc View SourceNativeCredential()
Initializes a new instance of the NativeCredential class.
Declaration
public NativeCredential()
NativeCredential(String, Dictionary<String, String>)
Initializes a new instance of the NativeCredential class.
Declaration
public NativeCredential(string username, Dictionary<string, string> properties)
Parameters
Type | Name | Description |
---|---|---|
System.String | username | Username. |
Dictionary<System.String, System.String> | properties | Properties. |
Properties
| Improve this Doc View SourceProperties
Gets the properties.
Declaration
public virtual Dictionary<string, string> Properties { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.String, System.String> | The properties. |
UserID
Gets or sets the credential user ID, corresponding to the userID of the user object this credential represents.
Declaration
public virtual string UserID { get; set; }
Property Value
Type | Description |
---|---|
System.String | The user ID associated with this credential. |
Methods
| Improve this Doc View SourceDeserialize(String)
Deserialize the specified serializedNativeCredential.
Declaration
public static NativeCredential Deserialize(string serializedNativeCredential)
Parameters
Type | Name | Description |
---|---|---|
System.String | serializedNativeCredential | Serialized native credential. |
Returns
Type | Description |
---|---|
NativeCredential | Native credential |
Serialize()
Serializes this instance.
Declaration
public string Serialize()
Returns
Type | Description |
---|---|
System.String | A |
ToString()
Returns a
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A |