/// <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);
Task <MicResponse> IMicClient.AuthGiveConsent(MicAuthGiveConsentRequest request, CancellationToken cancelToken) => HandleClientRequest <MicAuthGiveConsentRequest, MicResponse>(authGiveConsentUrl, HttpMethod.Post, request, hasPayload: true, cancelToken);
Task <MicResponse> IMicClient.AuthGiveConsent(MicAuthGiveConsentRequest request, CancellationToken cancelToken) => HandleClientRequest <MicAuthGiveConsentRequest, MicResponse>(nameof(IMicClient.AuthGiveConsent), request, cancelToken);