Exemplo n.º 1
0
 /// <summary>
 /// You may require users to consent to terms and conditions before they can use the service.
 /// Use this endpoint to register that a user has given their consent.
 /// </summary>
 /// <returns>An empty object.</returns>
 public Task AuthGiveConsent(MicAuthGiveConsentRequest request, CancellationToken cancelToken = default) =>
 ((IMicClient)this).AuthGiveConsent(request, cancelToken);
Exemplo n.º 2
0
 Task <MicResponse> IMicClient.AuthGiveConsent(MicAuthGiveConsentRequest request, CancellationToken cancelToken) =>
 HandleClientRequest <MicAuthGiveConsentRequest, MicResponse>(authGiveConsentUrl, HttpMethod.Post,
                                                              request, hasPayload: true, cancelToken);
Exemplo n.º 3
0
 Task <MicResponse> IMicClient.AuthGiveConsent(MicAuthGiveConsentRequest request, CancellationToken cancelToken) =>
 HandleClientRequest <MicAuthGiveConsentRequest, MicResponse>(nameof(IMicClient.AuthGiveConsent), request, cancelToken);