コード例 #1
0
ファイル: Reference.cs プロジェクト: RickSchoeman/Werk
 public LogonResponse(TwinfieldApi.TwinfieldSessionService.Header Header, TwinfieldApi.TwinfieldSessionService.LogonResult LogonResult, TwinfieldApi.TwinfieldSessionService.LogonAction nextAction, string cluster)
 {
     this.Header      = Header;
     this.LogonResult = LogonResult;
     this.nextAction  = nextAction;
     this.cluster     = cluster;
 }
コード例 #2
0
ファイル: Reference.cs プロジェクト: RickSchoeman/Werk
 public TwinfieldApi.TwinfieldSessionService.ChangePasswordResult ChangePassword(TwinfieldApi.TwinfieldSessionService.Header Header, string currentPassword, string newPassword, out TwinfieldApi.TwinfieldSessionService.LogonAction nextAction)
 {
     TwinfieldApi.TwinfieldSessionService.ChangePasswordRequest inValue = new TwinfieldApi.TwinfieldSessionService.ChangePasswordRequest();
     inValue.Header          = Header;
     inValue.currentPassword = currentPassword;
     inValue.newPassword     = newPassword;
     TwinfieldApi.TwinfieldSessionService.ChangePasswordResponse retVal = ((TwinfieldApi.TwinfieldSessionService.SessionSoap)(this)).ChangePassword(inValue);
     nextAction = retVal.nextAction;
     return(retVal.ChangePasswordResult);
 }
コード例 #3
0
ファイル: Reference.cs プロジェクト: RickSchoeman/Werk
 public TwinfieldApi.TwinfieldSessionService.SMSLogonResult SmsLogon(TwinfieldApi.TwinfieldSessionService.Header Header, string smsCode, out TwinfieldApi.TwinfieldSessionService.LogonAction nextAction)
 {
     TwinfieldApi.TwinfieldSessionService.SmsLogonRequest inValue = new TwinfieldApi.TwinfieldSessionService.SmsLogonRequest();
     inValue.Header  = Header;
     inValue.smsCode = smsCode;
     TwinfieldApi.TwinfieldSessionService.SmsLogonResponse retVal = ((TwinfieldApi.TwinfieldSessionService.SessionSoap)(this)).SmsLogon(inValue);
     nextAction = retVal.nextAction;
     return(retVal.SmsLogonResult);
 }
コード例 #4
0
ファイル: Reference.cs プロジェクト: RickSchoeman/Werk
 public TwinfieldApi.TwinfieldSessionService.Header Logon(string user, string password, string organisation, out TwinfieldApi.TwinfieldSessionService.LogonResult LogonResult, out TwinfieldApi.TwinfieldSessionService.LogonAction nextAction, out string cluster)
 {
     TwinfieldApi.TwinfieldSessionService.LogonRequest inValue = new TwinfieldApi.TwinfieldSessionService.LogonRequest();
     inValue.user         = user;
     inValue.password     = password;
     inValue.organisation = organisation;
     TwinfieldApi.TwinfieldSessionService.LogonResponse retVal = ((TwinfieldApi.TwinfieldSessionService.SessionSoap)(this)).Logon(inValue);
     LogonResult = retVal.LogonResult;
     nextAction  = retVal.nextAction;
     cluster     = retVal.cluster;
     return(retVal.Header);
 }
コード例 #5
0
ファイル: Reference.cs プロジェクト: RickSchoeman/Werk
 public ChangePasswordResponse(TwinfieldApi.TwinfieldSessionService.ChangePasswordResult ChangePasswordResult, TwinfieldApi.TwinfieldSessionService.LogonAction nextAction)
 {
     this.ChangePasswordResult = ChangePasswordResult;
     this.nextAction           = nextAction;
 }
コード例 #6
0
ファイル: Reference.cs プロジェクト: RickSchoeman/Werk
 public SmsLogonResponse(TwinfieldApi.TwinfieldSessionService.SMSLogonResult SmsLogonResult, TwinfieldApi.TwinfieldSessionService.LogonAction nextAction)
 {
     this.SmsLogonResult = SmsLogonResult;
     this.nextAction     = nextAction;
 }