mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-21 02:57:54 +08:00
增加SSO逻辑
This commit is contained in:
15
OpenAuth.WebTest/Controllers/HomeController.cs
Normal file
15
OpenAuth.WebTest/Controllers/HomeController.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System.Web.Mvc;
|
||||
using OpenAuth.App.SSO;
|
||||
|
||||
namespace OpenAuth.WebTest.Controllers
|
||||
{
|
||||
public class HomeController :Controller
|
||||
{
|
||||
[SSOAuth]
|
||||
public ActionResult Index()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user