Méthode | Description | |
---|---|---|
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 |
Méthode | Description | |
---|---|---|
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 | |
Résultat | bool |
public ChangeRateLimit ( UUID user, string method, uint rate ) : bool | ||
user | UUID | |
method | string | |
rate | uint | |
Résultat | bool |
public GetNewAccessToken ( UUID user ) : UUID | ||
user | UUID | |
Résultat | UUID |
public GetRateLimit ( UUID user, string method ) : uint? | ||
user | UUID | |
method | string | |
Résultat | uint? |
public GetUsageRate ( UUID user, string method ) : uint | ||
user | UUID | |
method | string | |
Résultat | uint |
public Initialize ( IGenericData GenericData, IConfigSource source, IRegistryCore simBase, string defaultConnectionString ) : void | ||
GenericData | IGenericData | |
source | IConfigSource | |
simBase | IRegistryCore | |
defaultConnectionString | string | |
Résultat | void |
public LogAPICall ( UUID user, string method ) : bool | ||
user | UUID | |
method | string | |
Résultat | bool |
public RateLimitExceed ( UUID user, string method ) : bool | ||
user | UUID | |
method | string | |
Résultat | bool |
public RevokeAPIAccess ( UUID user ) : bool | ||
user | UUID | |
Résultat | bool |