Class InMemoryCredentialStore
In memory credential store.
Inheritance
System.Object
InMemoryCredentialStore
Namespace: Kinvey
Assembly: Kinvey.dll
Syntax
public class InMemoryCredentialStore : object, ICredentialStore, IDisposable
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 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 Credential Load(string userId, string ssoGroupKey)
Parameters
Type | Name | Description |
---|---|---|
System.String | userId | User._id. |
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 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