Ejemplo n.º 1
0
        public static AuthResult From(OneIdTConnectAuthResult oneIdAuthResult)
        {
            if (oneIdAuthResult.HasUsers())
            {
                return(new AuthResult(AuthResultStatus.Success, oneIdAuthResult));
            }

            return(new AuthResult(AuthResultStatus.NoRelation, oneIdAuthResult));
        }
Ejemplo n.º 2
0
 private AuthResult(AuthResultStatus status, OneIdTConnectAuthResult oneIdAuthResult)
 {
     this.Status          = status;
     this.OneIdAuthResult = oneIdAuthResult;
 }
Ejemplo n.º 3
0
        /// <summary>
        /// テレマサービス情報APIの結果をDataSetにして返却します。
        /// </summary>
        /// <param name="id">入力されたログインId</param>
        /// <param name="result">認証結果</param>
        /// <returns>会員情報が設定されたDataSet</returns>
        public IList <Toyota.Gbook.WebSite.Security.Control.Authentication.Vehicle> GetVehicleList(OneIdTConnectAuthResult result)
        {
            var auth = new Toyota.Gbook.WebSite.Security.Control.Authentication();

            return(auth.CreateVehicleList(result));
        }