• Docs
Menu
  • Guides
  • Tutorials
  • Samples
  • Reference
  • Downloads
    • .NET SDK
    • Kinvey CLI
    • Business Logic CLI
    • Flex SDK
  • .NET
    • Change Platform
    • iOS
    • Android
    • NativeScript
    • HTML5
    • Angular
    • PhoneGap
    • Node.js
    • Xamarin
    • .NET
    • REST API
  • Explore Kinvey
    • Kinvey Homepage
    • Kinvey Backend Console
    • Kinvey Chat Portal
    • Kinvey Studio
  • .NET Reference /
  • API Reference

API Reference

Class NativeCredential

Native credential.

Inheritance
System.Object
NativeCredential
Namespace: Kinvey
Assembly: Kinvey.dll
Syntax
public class NativeCredential : object

Constructors

| Improve this Doc View Source

NativeCredential()

Initializes a new instance of the NativeCredential class.

Declaration
public NativeCredential()
| Improve this Doc View Source

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 Source

Properties

Gets the properties.

Declaration
public virtual Dictionary<string, string> Properties { get; }
Property Value
Type Description
Dictionary<System.String, System.String>

The properties.

| Improve this Doc View Source

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 Source

Deserialize(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

| Improve this Doc View Source

Serialize()

Serializes this instance.

Declaration
public string Serialize()
Returns
Type Description
System.String

A that represents the current NativeCredential.

| Improve this Doc View Source

ToString()

Returns a that represents the current NativeCredential.

Declaration
public override string ToString()
Returns
Type Description
System.String

A that represents the current NativeCredential.

  • Improve this Doc
  • View Source
© Kinvey
Terms of Use Privacy Policy