C# 클래스 SensorbergSDK.ApiKeyHelper

Helper class to receive the api key from the sensorberg plattform or validate it.
파일 보기 프로젝트 열기: sensorberg-dev/windows10-sdk 1 사용 예제들

공개 메소드들

메소드 설명
FetchApiKeyAsync ( string email, string password ) : Task

Tries to fetch the API key from the server matching the given credentials.

Login ( string email, string password ) : Task

Execute a login on the backend.

ValidateApiKey ( string apiKey ) : Task

Checks whether the given API key is valid or not.

메소드 상세

FetchApiKeyAsync() 공개 메소드

Tries to fetch the API key from the server matching the given credentials.
public FetchApiKeyAsync ( string email, string password ) : Task
email string
password string
리턴 Task

Login() 공개 메소드

Execute a login on the backend.
public Login ( string email, string password ) : Task
email string
password string
리턴 Task

ValidateApiKey() 공개 메소드

Checks whether the given API key is valid or not.
public ValidateApiKey ( string apiKey ) : Task
apiKey string The API key to validate.
리턴 Task