新建consentController
繼承Controller並引用命名空間
給他一個get的Action Index
添加一個Index的View
新建一個ConsentViewModel
再新建ScopeViewModel
這幾個屬性均可以在文檔內看到
這裏定義了兩種類型的ViewModel 分別是IdentityScopes和ResourceScopes
Index.cshtml頁面
作成相似新浪微博的這個樣子
新建一個ParticalView
html