コード例 #1
0
        public Task <GetAuthorizationResult> ExecuteAsync(Uri authorizationUri, AuthorizationRequest request)
        {
            if (authorizationUri == null)
            {
                throw new ArgumentNullException(nameof(authorizationUri));
            }

            if (request == null)
            {
                throw new ArgumentNullException(nameof(request));
            }

            return(_getAuthorizationOperation.ExecuteAsync(authorizationUri, request));
        }
コード例 #2
0
 public Task <AuthorizationResponse> Get(PostAuthorization request, string url, string token)
 {
     return(_getAuthorizationOperation.ExecuteAsync(request, url, token));
 }