IManageApiKeys
The Interface Auth Repositories need to implement to support API Keys
Assembly: ServiceStack.dll
View Source
Declaration
public interface IManageApiKeys
Methods
InitApiKeySchema()
View Source
Declaration
void InitApiKeySchema()
ApiKeyExists(String)
View Source
Declaration
bool ApiKeyExists(string apiKey)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | apiKey |
GetApiKey(String)
View Source
Declaration
ApiKey GetApiKey(string apiKey)
Returns
Parameters
Type | Name |
---|---|
System.String | apiKey |
GetUserApiKeys(String)
View Source
Declaration
List<ApiKey> GetUserApiKeys(string userId)
Returns
System.Collections.Generic.List<ServiceStack.Auth.ApiKey>
Parameters
Type | Name |
---|---|
System.String | userId |
StoreAll(IEnumerable<ApiKey>)
View Source
Declaration
void StoreAll(IEnumerable<ApiKey> apiKeys)
Parameters
Type | Name |
---|---|
System.Collections.Generic.IEnumerable<ServiceStack.Auth.ApiKey> | apiKeys |