Ejemplo n.º 1
0
 public ResponseMessageWrap<AuthResponse> Auth(AuthRequest reqMsg)
 {
     String Token = service.Auth(reqMsg.AppId, reqMsg.AppSecret);
     var resp = new ResponseMessageWrap<AuthResponse>
     {
         Body = new AuthResponse
         {
             Token = Token
         }
     };
     return resp;
 }
Ejemplo n.º 2
0
        public ResponseMessageWrap <AuthResponse> Auth(AuthRequest reqMsg)
        {
            String Token = service.Auth(reqMsg.AppId, reqMsg.AppSecret);
            var    resp  = new ResponseMessageWrap <AuthResponse>
            {
                Body = new AuthResponse
                {
                    Token = Token
                }
            };

            return(resp);
        }