コード例 #1
0
 public Client(ILogger <Client> _logger, Cache _cache)
 {
     logger      = _logger;
     cache       = _cache;
     loginClient = new ClientLoginServiceClient(ClientLoginServiceClient.EndpointConfiguration.BinaryHttpsClientLoginServiceEndpoint);
     client      = Authenticate().Result;
 }
コード例 #2
0
        public async Task <RegisterUserResult> Register(RegisterRequest registerRequest)
        {
            var loginClient = new ClientLoginServiceClient(ClientLoginServiceClient.EndpointConfiguration.BinaryHttpsClientLoginServiceEndpoint);

            return(await loginClient.RegisterAsync(registerRequest));
        }