C# Class CS_threescale.Api

Inheritance: IApi
显示文件 Open project: Mimeo/3scale_ws_api_for_dotnet Class Usage Examples

Public Methods

Method Description
Api ( ) : System
Api ( string provider_key ) : System
Api ( string hostURI, string provider_key ) : System
authorize ( string app_id ) : AuthorizeResponse
authorize ( string app_id, string app_key ) : AuthorizeResponse
authorize_user_key ( string user_key ) : AuthorizeResponse
report ( Hashtable transactions ) : void

Private Methods

Method Description
AddTransactions ( StringBuilder contentBuilder, Hashtable transactions ) : void
aux_authorize ( int key_type, string id, string key ) : AuthorizeResponse

Method Details

Api() public method

public Api ( ) : System
return System

Api() public method

public Api ( string provider_key ) : System
provider_key string
return System

Api() public method

public Api ( string hostURI, string provider_key ) : System
hostURI string
provider_key string
return System

authorize() public method

public authorize ( string app_id ) : AuthorizeResponse
app_id string
return AuthorizeResponse

authorize() public method

public authorize ( string app_id, string app_key ) : AuthorizeResponse
app_id string
app_key string
return AuthorizeResponse

authorize_user_key() public method

public authorize_user_key ( string user_key ) : AuthorizeResponse
user_key string
return AuthorizeResponse

report() public method

public report ( Hashtable transactions ) : void
transactions System.Collections.Hashtable
return void