Skip to main content

ManageApiKeysAsyncWrapper

Assembly: ServiceStack.dll
View Source
Declaration
public class ManageApiKeysAsyncWrapper : IManageApiKeysAsync

Methods

InitApiKeySchema()

View Source
Declaration
public void InitApiKeySchema()

ApiKeyExistsAsync(String, CancellationToken)

View Source
Declaration
public Task<bool> ApiKeyExistsAsync(string apiKey, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task<System.Boolean>

Parameters
TypeName
System.StringapiKey
System.Threading.CancellationTokentoken

GetApiKeyAsync(String, CancellationToken)

View Source
Declaration
public Task<ApiKey> GetApiKeyAsync(string apiKey, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task<ServiceStack.Auth.ApiKey>

Parameters
TypeName
System.StringapiKey
System.Threading.CancellationTokentoken

GetUserApiKeysAsync(String, CancellationToken)

View Source
Declaration
public Task<List<ApiKey>> GetUserApiKeysAsync(string userId, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task<System.Collections.Generic.List<ServiceStack.Auth.ApiKey>>

Parameters
TypeName
System.StringuserId
System.Threading.CancellationTokentoken

StoreAllAsync(IEnumerable<ApiKey>, CancellationToken)

View Source
Declaration
public Task StoreAllAsync(IEnumerable<ApiKey> apiKeys, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task

Parameters
TypeName
System.Collections.Generic.IEnumerable<ServiceStack.Auth.ApiKey>apiKeys
System.Threading.CancellationTokentoken

Implements