Esempio n. 1
0
        public Task <SecurityGetApiKeyResponse> GetApiKeyAsync(Action <SecurityGetApiKeyRequestDescriptor> configureRequest = null, CancellationToken cancellationToken = default)
        {
            var descriptor = new SecurityGetApiKeyRequestDescriptor();

            configureRequest?.Invoke(descriptor);
            descriptor.BeforeRequest();
            return(DoRequestAsync <SecurityGetApiKeyRequestDescriptor, SecurityGetApiKeyResponse>(descriptor));
        }
Esempio n. 2
0
        public SecurityGetApiKeyResponse GetApiKey(Action <SecurityGetApiKeyRequestDescriptor> configureRequest = null)
        {
            var descriptor = new SecurityGetApiKeyRequestDescriptor();

            configureRequest?.Invoke(descriptor);
            descriptor.BeforeRequest();
            return(DoRequest <SecurityGetApiKeyRequestDescriptor, SecurityGetApiKeyResponse>(descriptor));
        }