C# 클래스 SimpleAuth.ApiKeyApi

상속: Api
파일 보기 프로젝트 열기: Clancey/SimpleAuth 1 사용 예제들

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
PrepareUrl ( string path, bool authenticated = true ) : Task

메소드 상세

ApiKeyApi() 공개 메소드

public ApiKeyApi ( string apiKey, string authKey, AuthLocation authLocation, HttpMessageHandler handler = null ) : System
apiKey string
authKey string
authLocation AuthLocation
handler System.Net.Http.HttpMessageHandler
리턴 System

PrepareClient() 공개 메소드

public PrepareClient ( HttpClient client ) : System.Threading.Tasks.Task
client System.Net.Http.HttpClient
리턴 System.Threading.Tasks.Task

PrepareUrl() 공개 정적인 메소드

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
리턴 Task

PrepareUrl() 보호된 메소드

protected PrepareUrl ( string path, bool authenticated = true ) : Task
path string
authenticated bool
리턴 Task