Class NativeCredentialStore
Native credential store.
Inheritance
System.Object
NativeCredentialStore
Namespace: Kinvey
Assembly: Kinvey.dll
Syntax
public abstract class NativeCredentialStore : object, ICredentialStore, IDisposable
Methods
| Improve this Doc View SourceDelete(String, String)
Delete the specified user ID into the native credential store.
Declaration
public abstract void Delete(string userID, string ssoGroupKey)
Parameters
Type | Name | Description |
---|---|---|
System.String | userID | User ID. |
System.String | ssoGroupKey | SSO Group Key. |
Dispose()
Performs all object cleanup, so the garbage collector no longer needs to call the objects Object.Finalize override.
Declaration
public abstract void Dispose()
GetStoredCredential(String)
Gets the active user from the native credential store.
Declaration
public abstract Credential GetStoredCredential(string ssoGroupKey)
Parameters
Type | Name | Description |
---|---|---|
System.String | ssoGroupKey | SSO Group Key. |
Returns
Type | Description |
---|---|
Credential | The credential object representing the active user. |
Load(String, String)
Load the credential object from the native credential store based on the specified user ID.
Declaration
public abstract Credential Load(string userID, string ssoGroupKey)
Parameters
Type | Name | Description |
---|---|---|
System.String | userID | User identifier. |
System.String | ssoGroupKey | SSO Group Key. |
Returns
Type | Description |
---|---|
Credential | Credential object storing authentication information |
Store(String, String, Credential)
Store the specified userID and credential.
Declaration
public abstract void Store(string userID, string ssoGroupKey, Credential credential)
Parameters
Type | Name | Description |
---|---|---|
System.String | userID | User identifier. |
System.String | ssoGroupKey | SSO Group Key. |
Credential | credential | Credential. |
Implements
IDisposable