コード例 #1
0
        public Task <SecurityCreateApiKeyResponse> CreateApiKeyAsync(Action <SecurityCreateApiKeyRequestDescriptor> configureRequest = null, CancellationToken cancellationToken = default)
        {
            var descriptor = new SecurityCreateApiKeyRequestDescriptor();

            configureRequest?.Invoke(descriptor);
            descriptor.BeforeRequest();
            return(DoRequestAsync <SecurityCreateApiKeyRequestDescriptor, SecurityCreateApiKeyResponse>(descriptor));
        }
コード例 #2
0
        public SecurityCreateApiKeyResponse CreateApiKey(Action <SecurityCreateApiKeyRequestDescriptor> configureRequest = null)
        {
            var descriptor = new SecurityCreateApiKeyRequestDescriptor();

            configureRequest?.Invoke(descriptor);
            descriptor.BeforeRequest();
            return(DoRequest <SecurityCreateApiKeyRequestDescriptor, SecurityCreateApiKeyResponse>(descriptor));
        }