Class AbpIoApiKeyService
Inheritance
object
AbpIoApiKeyService
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Cli.Licensing
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public class AbpIoApiKeyService : IApiKeyService, ITransientDependency
Constructors
AbpIoApiKeyService(IJsonSerializer, ICancellationTokenProvider, IRemoteServiceExceptionHandler, ILogger<AbpIoApiKeyService>, CliHttpClientFactory)
Declaration
public AbpIoApiKeyService(IJsonSerializer jsonSerializer, ICancellationTokenProvider cancellationTokenProvider, IRemoteServiceExceptionHandler remoteServiceExceptionHandler, ILogger<AbpIoApiKeyService> logger, CliHttpClientFactory cliHttpClientFactory)
Parameters
| Type | Name | Description |
|---|---|---|
| IJsonSerializer | jsonSerializer | |
| ICancellationTokenProvider | cancellationTokenProvider | |
| IRemoteServiceExceptionHandler | remoteServiceExceptionHandler | |
| Microsoft.Extensions.Logging.ILogger<TCategoryName><AbpIoApiKeyService> | logger | |
| CliHttpClientFactory | cliHttpClientFactory |
Properties
CancellationTokenProvider
Declaration
protected ICancellationTokenProvider CancellationTokenProvider { get; }
Property Value
| Type | Description |
|---|---|
| ICancellationTokenProvider |
JsonSerializer
Declaration
protected IJsonSerializer JsonSerializer { get; }
Property Value
| Type | Description |
|---|---|
| IJsonSerializer |
RemoteServiceExceptionHandler
Declaration
protected IRemoteServiceExceptionHandler RemoteServiceExceptionHandler { get; }
Property Value
| Type | Description |
|---|---|
| IRemoteServiceExceptionHandler |
Methods
GetApiKeyOrNullAsync(bool)
Declaration
public Task<DeveloperApiKeyResult> GetApiKeyOrNullAsync(bool invalidateCache = false)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | invalidateCache |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<TResult><DeveloperApiKeyResult> |