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