Example #1
0
        public CreateAuthKeyResponse CreateAuthKey(CreateAuthKeyData data)
        {
            CreateAuthKeyRequest request = new CreateAuthKeyRequest
            {
                AuthKey = new AuthKey
                {
                    UserNr       = GetUserAuthenticationData().UserNr,
                    ExchangeType = data.ExchangeType,
                    KeyValue     = data.KeyValue,
                    SecretValue  = data.SecretValue
                }
            };

            CreateAuthKeyResponse response = _client.CreateAuthKey(request);

            return(response);
        }
 public JsonResult CreateAuthKey(CreateAuthKeyData data)
 {
     _accountFacade.CreateAuthKey(data);
     return(Json("Ok"));
 }