Class SQLiteCredentialStore
SQLite credential store.
Inheritance
Namespace: Kinvey
Assembly: Kinvey.dll
Syntax
public class SQLiteCredentialStore : object, ICredentialStore, IDisposable
Constructors
| Improve this Doc View SourceSQLiteCredentialStore(String)
Initializes a new instance of the SQLiteCredentialStore class.
Declaration
public SQLiteCredentialStore(string filepath)
Parameters
Type | Name | Description |
---|---|---|
System.String | filepath | Filepath. |
Methods
| Improve this Doc View SourceDelete(String, String)
Delete the specified userId.
Declaration
public void Delete(string userId, string ssoGroupKey)
Parameters
Type | Name | Description |
---|---|---|
System.String | userId | User identifier. |
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 void Dispose()
Dispose(Boolean)
Performs all object cleanup.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Indicates whether the method call comes from a Dispose method (its value is true) or from a finalizer (its value is false). |
Finalize()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
Declaration
protected void Finalize()
GetStoredCredential(String)
Gets stored credential.
Declaration
public virtual Credential GetStoredCredential(string ssoGroupKey)
Parameters
Type | Name | Description |
---|---|---|
System.String | ssoGroupKey | SSO Group Key. |
Returns
Type | Description |
---|---|
Credential | Credential object storing authentication information |
Load(String, String)
Load the specified userId.
Declaration
public virtual 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 virtual 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. |