C# Class SimpleAuth.ApiKeyApi

Inheritance: Api
Afficher le fichier Open project: Clancey/SimpleAuth Class Usage Examples

Méthodes publiques

Méthode Description
ApiKeyApi ( string apiKey, string authKey, AuthLocation authLocation, HttpMessageHandler handler = null ) : System
PrepareClient ( HttpClient client ) : System.Threading.Tasks.Task
PrepareUrl ( Uri baseAddress, string path, string apiKey, string authKey, AuthLocation authLocation ) : Task

Méthodes protégées

Méthode Description
PrepareUrl ( string path, bool authenticated = true ) : Task

Method Details

ApiKeyApi() public méthode

public ApiKeyApi ( string apiKey, string authKey, AuthLocation authLocation, HttpMessageHandler handler = null ) : System
apiKey string
authKey string
authLocation AuthLocation
handler System.Net.Http.HttpMessageHandler
Résultat System

PrepareClient() public méthode

public PrepareClient ( HttpClient client ) : System.Threading.Tasks.Task
client System.Net.Http.HttpClient
Résultat System.Threading.Tasks.Task

PrepareUrl() public static méthode

public static PrepareUrl ( Uri baseAddress, string path, string apiKey, string authKey, AuthLocation authLocation ) : Task
baseAddress System.Uri
path string
apiKey string
authKey string
authLocation AuthLocation
Résultat Task

PrepareUrl() protected méthode

protected PrepareUrl ( string path, bool authenticated = true ) : Task
path string
authenticated bool
Résultat Task