Метод | Описание | |
---|---|---|
AllowAPICall ( UUID user, string method ) : bool | ||
ChangeRateLimit ( UUID user, string method, uint rate ) : bool | ||
ClearLog ( bool staleOnly ) : bool | ||
GetAccessToken ( UUID user ) : UUID | ||
GetNewAccessToken ( UUID user ) : UUID | ||
GetRateLimit ( UUID user, string method ) : uint? | ||
GetUsageRate ( UUID user, string method ) : uint | ||
Initialize ( IGenericData GenericData, IConfigSource source, IRegistryCore simBase, string defaultConnectionString ) : void | ||
LogAPICall ( UUID user, string method ) : bool | ||
RateLimitExceed ( UUID user, string method ) : bool | ||
ResetAPIAccess ( UUID user ) : bool | ||
RevokeAPIAccess ( UUID user ) : bool |
Метод | Описание | |
---|---|---|
Info ( object message ) : void | ||
Warn ( object message ) : void | ||
handleConfig ( IConfigSource m_config, string defaultConnectionString ) : bool |
public AllowAPICall ( UUID user, string method ) : bool | ||
user | UUID | |
method | string | |
Результат | bool |
public ChangeRateLimit ( UUID user, string method, uint rate ) : bool | ||
user | UUID | |
method | string | |
rate | uint | |
Результат | bool |
public GetAccessToken ( UUID user ) : UUID | ||
user | UUID | |
Результат | UUID |
public GetNewAccessToken ( UUID user ) : UUID | ||
user | UUID | |
Результат | UUID |
public GetRateLimit ( UUID user, string method ) : uint? | ||
user | UUID | |
method | string | |
Результат | uint? |
public GetUsageRate ( UUID user, string method ) : uint | ||
user | UUID | |
method | string | |
Результат | uint |
public Initialize ( IGenericData GenericData, IConfigSource source, IRegistryCore simBase, string defaultConnectionString ) : void | ||
GenericData | IGenericData | |
source | IConfigSource | |
simBase | IRegistryCore | |
defaultConnectionString | string | |
Результат | void |
public LogAPICall ( UUID user, string method ) : bool | ||
user | UUID | |
method | string | |
Результат | bool |
public RateLimitExceed ( UUID user, string method ) : bool | ||
user | UUID | |
method | string | |
Результат | bool |
public ResetAPIAccess ( UUID user ) : bool | ||
user | UUID | |
Результат | bool |
public RevokeAPIAccess ( UUID user ) : bool | ||
user | UUID | |
Результат | bool |