Beispiel #1
0
        /// <summary>
        /// Execute convert input.
        /// </summary>
        /// <param name="request">RequestModel</param>
        /// <returns>DataModel</returns>
        private AuthDataModel Convert(AuthRequestModel request)
        {
            // Local variable declaration
            AuthDataModel inputObject = null;

            // Variable initialize
            inputObject = new AuthDataModel();

            // Convert data input
            DataHelper.ConvertInput(request, inputObject);

            // Return value
            return inputObject;
        }
Beispiel #2
0
 /// <summary>
 /// Authotication process.
 /// </summary>
 /// <param name="request">RequestModel</param>
 /// <returns>ResponseModel</returns>
 public AuthResponseModel Invoke(AuthRequestModel request)
 {
     var response = Execute(request);
     return response;
 }
Beispiel #3
0
        /// <summary>
        /// Execute processing.
        /// </summary>
        /// <param name="request">RequestModel</param>
        /// <returns>ResponseModel</returns>
        private AuthResponseModel Execute(AuthRequestModel request)
        {
            // Local variable declaration
            AuthResponseModel response = null;
            AuthDataModel inputObject = null;
            AuthDataModel resultObject = null;

            // Variable initialize
            response = new AuthResponseModel();

            // Execute convert input.
            inputObject = Convert(request);

            // Auth infomation
            resultObject = AuthInfo(inputObject);

            // Execute convert ouput.
            response = Convert(resultObject);

            return response;
        }