Interface ICredentialStore
This interface defines the ability to store Credentials.
Namespace: Kinvey
Assembly: Kinvey.dll
Syntax
public interface ICredentialStore : IDisposable
Methods
| Improve this Doc View SourceDelete(String, String)
Delete the specified userId.
Declaration
void Delete(string userId, string ssoGroupKey)
Parameters
Type | Name | Description |
---|---|---|
System.String | userId | User identifier. |
System.String | ssoGroupKey | SSO Group Key. |
GetStoredCredential(String)
Gets the stored credential from the credential store, based on the given SSO group key. If found, this credential represents the active user.
Declaration
Credential GetStoredCredential(string ssoGroupKey)
Parameters
Type | Name | Description |
---|---|---|
System.String | ssoGroupKey | SSO Group Key. |
Returns
Type | Description |
---|---|
Credential | The Credential object if it exists, otherwise null. |
Load(String, String)
Load the specified userId.
Declaration
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
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. |