Esempio n. 1
0
 /// <summary>
 /// Checks if a user is authorized to login and returns credentials that should be used when communicating with
 /// AWS. The access token is valid for 60 minutes, whereafter it needs to be refreshed.
 /// </summary>
 public Task <MicAuthLoginResponse> AuthLogin(MicAuthLoginRequest request, CancellationToken cancelToken = default) =>
 HandleClientRequest <MicAuthLoginRequest, MicAuthLoginResponse>(authLoginUrl, HttpMethod.Post,
                                                                 request, hasPayload: true, cancelToken);
Esempio n. 2
0
 /// <summary>
 /// Checks if a user is authorized to login and returns credentials that should be used when communicating with
 /// AWS. The access token is valid for 60 minutes, whereafter it needs to be refreshed.
 /// </summary>
 public Task <MicAuthLoginResponse> AuthLogin(MicAuthLoginRequest request, CancellationToken cancelToken = default) =>
 HandleClientRequest <MicAuthLoginRequest, MicAuthLoginResponse>(nameof(AuthLogin), request, cancelToken);