├── Quickstarts ├── 6_AspNetIdentity │ ├── src │ │ ├── MvcClient │ │ │ ├── wwwroot │ │ │ │ ├── js │ │ │ │ │ ├── site.min.js │ │ │ │ │ └── site.js │ │ │ │ ├── favicon.ico │ │ │ │ ├── lib │ │ │ │ │ ├── bootstrap │ │ │ │ │ │ └── dist │ │ │ │ │ │ │ ├── fonts │ │ │ │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ │ │ │ │ └── js │ │ │ │ │ │ │ └── npm.js │ │ │ │ │ └── jquery │ │ │ │ │ │ └── .bower.json │ │ │ │ ├── css │ │ │ │ │ └── site.min.css │ │ │ │ └── _references.js │ │ │ ├── .bowerrc │ │ │ ├── Views │ │ │ │ ├── _ViewStart.cshtml │ │ │ │ ├── Shared │ │ │ │ │ ├── Json.cshtml │ │ │ │ │ └── Error.cshtml │ │ │ │ ├── _ViewImports.cshtml │ │ │ │ └── Home │ │ │ │ │ ├── Index.cshtml │ │ │ │ │ └── Secure.cshtml │ │ │ ├── bower.json │ │ │ ├── appsettings.json │ │ │ ├── MvcClient.csproj │ │ │ ├── bundleconfig.json │ │ │ └── Program.cs │ │ ├── IdentityServerWithAspNetIdentity │ │ │ ├── Views │ │ │ │ ├── _ViewStart.cshtml │ │ │ │ ├── _ViewImports.cshtml │ │ │ │ ├── Shared │ │ │ │ │ └── _ValidationSummary.cshtml │ │ │ │ ├── Account │ │ │ │ │ └── Logout.cshtml │ │ │ │ └── Diagnostics │ │ │ │ │ └── Index.cshtml │ │ │ ├── appsettings.json │ │ │ ├── wwwroot │ │ │ │ ├── icon.jpg │ │ │ │ ├── icon.png │ │ │ │ ├── favicon.ico │ │ │ │ ├── js │ │ │ │ │ └── signout-redirect.js │ │ │ │ └── lib │ │ │ │ │ ├── jquery-validation │ │ │ │ │ ├── src │ │ │ │ │ │ ├── additional │ │ │ │ │ │ │ ├── lettersonly.js │ │ │ │ │ │ │ ├── nowhitespace.js │ │ │ │ │ │ │ ├── integer.js │ │ │ │ │ │ │ ├── zipcodeUS.js │ │ │ │ │ │ │ ├── alphanumeric.js │ │ │ │ │ │ │ ├── postalcodeNL.js │ │ │ │ │ │ │ ├── letterswithbasicpunc.js │ │ │ │ │ │ │ ├── time.js │ │ │ │ │ │ │ ├── ziprange.js │ │ │ │ │ │ │ ├── dateNL.js │ │ │ │ │ │ │ ├── postalcodeIT.js │ │ │ │ │ │ │ ├── time12h.js │ │ │ │ │ │ │ ├── mobileNL.js │ │ │ │ │ │ │ ├── dateFA.js │ │ │ │ │ │ │ ├── notEqualTo.js │ │ │ │ │ │ │ ├── giroaccountNL.js │ │ │ │ │ │ │ ├── ipv4.js │ │ │ │ │ │ │ ├── strippedminlength.js │ │ │ │ │ │ │ ├── bankorgiroaccountNL.js │ │ │ │ │ │ │ ├── phoneNL.js │ │ │ │ │ │ │ ├── postalcodeBR.js │ │ │ │ │ │ │ ├── extension.js │ │ │ │ │ │ │ ├── postcodeUK.js │ │ │ │ │ │ │ ├── postalCodeCA.js │ │ │ │ │ │ │ └── pattern.js │ │ │ │ │ │ └── localization │ │ │ │ │ │ │ ├── methods_pt.js │ │ │ │ │ │ │ ├── methods_nl.js │ │ │ │ │ │ │ ├── methods_fi.js │ │ │ │ │ │ │ ├── methods_de.js │ │ │ │ │ │ │ └── methods_es_CL.js │ │ │ │ │ └── bower.json │ │ │ │ │ ├── bootstrap │ │ │ │ │ └── fonts │ │ │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ │ │ └── jquery-validation-unobtrusive │ │ │ │ │ └── LICENSE.txt │ │ │ ├── appsettings.Development.json │ │ │ ├── Quickstart │ │ │ │ ├── Account │ │ │ │ │ ├── LogoutInputModel.cs │ │ │ │ │ ├── LogoutViewModel.cs │ │ │ │ │ ├── ExternalProvider.cs │ │ │ │ │ └── LoginInputModel.cs │ │ │ │ ├── Home │ │ │ │ │ └── ErrorViewModel.cs │ │ │ │ └── Consent │ │ │ │ │ ├── ConsentInputModel.cs │ │ │ │ │ ├── ScopeViewModel.cs │ │ │ │ │ ├── ProcessConsentResult.cs │ │ │ │ │ └── ConsentViewModel.cs │ │ │ └── Models │ │ │ │ └── ApplicationUser.cs │ │ ├── Api │ │ │ ├── appsettings.json │ │ │ ├── Api.csproj │ │ │ ├── Controllers │ │ │ │ └── IdentityController.cs │ │ │ └── Program.cs │ │ ├── Client │ │ │ └── Client.csproj │ │ └── ResourceOwnerClient │ │ │ └── ResourceOwnerClient.csproj │ └── readme.md ├── 7_JavaScriptClient │ ├── src │ │ ├── MvcClient │ │ │ ├── wwwroot │ │ │ │ ├── js │ │ │ │ │ ├── site.min.js │ │ │ │ │ └── site.js │ │ │ │ ├── favicon.ico │ │ │ │ ├── lib │ │ │ │ │ ├── bootstrap │ │ │ │ │ │ └── dist │ │ │ │ │ │ │ ├── fonts │ │ │ │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ │ │ │ │ └── js │ │ │ │ │ │ │ └── npm.js │ │ │ │ │ └── jquery │ │ │ │ │ │ └── .bower.json │ │ │ │ ├── css │ │ │ │ │ └── site.min.css │ │ │ │ └── _references.js │ │ │ ├── .bowerrc │ │ │ ├── Views │ │ │ │ ├── _ViewStart.cshtml │ │ │ │ ├── Shared │ │ │ │ │ ├── Json.cshtml │ │ │ │ │ └── Error.cshtml │ │ │ │ ├── _ViewImports.cshtml │ │ │ │ └── Home │ │ │ │ │ ├── Index.cshtml │ │ │ │ │ └── Secure.cshtml │ │ │ ├── bower.json │ │ │ ├── appsettings.json │ │ │ ├── MvcClient.csproj │ │ │ ├── bundleconfig.json │ │ │ └── Program.cs │ │ ├── QuickstartIdentityServer │ │ │ ├── Views │ │ │ │ ├── _ViewStart.cshtml │ │ │ │ ├── _ViewImports.cshtml │ │ │ │ ├── Shared │ │ │ │ │ └── _ValidationSummary.cshtml │ │ │ │ ├── Account │ │ │ │ │ └── Logout.cshtml │ │ │ │ └── Diagnostics │ │ │ │ │ └── Index.cshtml │ │ │ ├── wwwroot │ │ │ │ ├── icon.jpg │ │ │ │ ├── icon.png │ │ │ │ ├── favicon.ico │ │ │ │ ├── js │ │ │ │ │ └── signout-redirect.js │ │ │ │ └── lib │ │ │ │ │ └── bootstrap │ │ │ │ │ └── fonts │ │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ ├── Quickstart │ │ │ │ ├── Account │ │ │ │ │ ├── LogoutInputModel.cs │ │ │ │ │ ├── LogoutViewModel.cs │ │ │ │ │ ├── ExternalProvider.cs │ │ │ │ │ └── LoginInputModel.cs │ │ │ │ ├── Home │ │ │ │ │ └── ErrorViewModel.cs │ │ │ │ └── Consent │ │ │ │ │ ├── ConsentInputModel.cs │ │ │ │ │ ├── ScopeViewModel.cs │ │ │ │ │ ├── ProcessConsentResult.cs │ │ │ │ │ └── ConsentViewModel.cs │ │ │ ├── QuickstartIdentityServer.csproj │ │ │ └── Program.cs │ │ ├── JavaScriptClient │ │ │ ├── package.json │ │ │ ├── JavaScriptClient.csproj │ │ │ ├── wwwroot │ │ │ │ ├── index.html │ │ │ │ └── callback.html │ │ │ ├── Startup.cs │ │ │ └── Program.cs │ │ ├── Api │ │ │ ├── appsettings.json │ │ │ ├── Api.csproj │ │ │ ├── Controllers │ │ │ │ └── IdentityController.cs │ │ │ └── Program.cs │ │ ├── Client │ │ │ └── Client.csproj │ │ └── ResourceOwnerClient │ │ │ └── ResourceOwnerClient.csproj │ └── readme.md ├── 8_EntityFrameworkStorage │ ├── src │ │ ├── MvcClient │ │ │ ├── wwwroot │ │ │ │ ├── js │ │ │ │ │ ├── site.min.js │ │ │ │ │ └── site.js │ │ │ │ ├── favicon.ico │ │ │ │ ├── lib │ │ │ │ │ ├── bootstrap │ │ │ │ │ │ └── dist │ │ │ │ │ │ │ ├── fonts │ │ │ │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ │ │ │ │ └── js │ │ │ │ │ │ │ └── npm.js │ │ │ │ │ └── jquery │ │ │ │ │ │ └── .bower.json │ │ │ │ ├── css │ │ │ │ │ └── site.min.css │ │ │ │ └── _references.js │ │ │ ├── .bowerrc │ │ │ ├── Views │ │ │ │ ├── _ViewStart.cshtml │ │ │ │ ├── Shared │ │ │ │ │ ├── Json.cshtml │ │ │ │ │ └── Error.cshtml │ │ │ │ ├── _ViewImports.cshtml │ │ │ │ └── Home │ │ │ │ │ └── Index.cshtml │ │ │ ├── bower.json │ │ │ ├── appsettings.json │ │ │ ├── MvcClient.csproj │ │ │ ├── bundleconfig.json │ │ │ └── Program.cs │ │ ├── QuickstartIdentityServer │ │ │ ├── Views │ │ │ │ ├── _ViewStart.cshtml │ │ │ │ ├── _ViewImports.cshtml │ │ │ │ ├── Shared │ │ │ │ │ └── _ValidationSummary.cshtml │ │ │ │ ├── Account │ │ │ │ │ └── Logout.cshtml │ │ │ │ └── Diagnostics │ │ │ │ │ └── Index.cshtml │ │ │ ├── updateUI.ps1 │ │ │ ├── wwwroot │ │ │ │ ├── icon.jpg │ │ │ │ ├── icon.png │ │ │ │ ├── favicon.ico │ │ │ │ ├── js │ │ │ │ │ └── signout-redirect.js │ │ │ │ └── lib │ │ │ │ │ └── bootstrap │ │ │ │ │ └── fonts │ │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ ├── Quickstart │ │ │ │ ├── Account │ │ │ │ │ ├── LogoutInputModel.cs │ │ │ │ │ ├── LogoutViewModel.cs │ │ │ │ │ ├── ExternalProvider.cs │ │ │ │ │ └── LoginInputModel.cs │ │ │ │ ├── Home │ │ │ │ │ └── ErrorViewModel.cs │ │ │ │ └── Consent │ │ │ │ │ ├── ConsentInputModel.cs │ │ │ │ │ ├── ScopeViewModel.cs │ │ │ │ │ └── ProcessConsentResult.cs │ │ │ └── QuickstartIdentityServer.csproj │ │ ├── JavaScriptClient │ │ │ ├── package.json │ │ │ ├── JavaScriptClient.csproj │ │ │ ├── wwwroot │ │ │ │ ├── index.html │ │ │ │ └── callback.html │ │ │ ├── Startup.cs │ │ │ └── Program.cs │ │ ├── Api │ │ │ ├── appsettings.json │ │ │ ├── Api.csproj │ │ │ ├── Controllers │ │ │ │ └── IdentityController.cs │ │ │ └── Program.cs │ │ ├── Client │ │ │ └── Client.csproj │ │ └── ResourceOwnerClient │ │ │ └── ResourceOwnerClient.csproj │ └── readme.md ├── 3_ImplicitFlowAuthentication │ ├── src │ │ ├── MvcClient │ │ │ ├── wwwroot │ │ │ │ ├── js │ │ │ │ │ ├── site.min.js │ │ │ │ │ └── site.js │ │ │ │ ├── favicon.ico │ │ │ │ ├── lib │ │ │ │ │ ├── bootstrap │ │ │ │ │ │ └── dist │ │ │ │ │ │ │ ├── fonts │ │ │ │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ │ │ │ │ └── js │ │ │ │ │ │ │ └── npm.js │ │ │ │ │ └── jquery │ │ │ │ │ │ └── .bower.json │ │ │ │ ├── css │ │ │ │ │ └── site.min.css │ │ │ │ └── _references.js │ │ │ ├── .bowerrc │ │ │ ├── Views │ │ │ │ ├── _ViewStart.cshtml │ │ │ │ ├── _ViewImports.cshtml │ │ │ │ ├── Home │ │ │ │ │ ├── Index.cshtml │ │ │ │ │ └── Secure.cshtml │ │ │ │ └── Shared │ │ │ │ │ └── Error.cshtml │ │ │ ├── bower.json │ │ │ ├── appsettings.json │ │ │ ├── MvcClient.csproj │ │ │ ├── bundleconfig.json │ │ │ └── Program.cs │ │ ├── QuickstartIdentityServer │ │ │ ├── Views │ │ │ │ ├── _ViewStart.cshtml │ │ │ │ ├── _ViewImports.cshtml │ │ │ │ ├── Shared │ │ │ │ │ └── _ValidationSummary.cshtml │ │ │ │ ├── Account │ │ │ │ │ └── Logout.cshtml │ │ │ │ └── Diagnostics │ │ │ │ │ └── Index.cshtml │ │ │ ├── updateUI.ps1 │ │ │ ├── wwwroot │ │ │ │ ├── icon.jpg │ │ │ │ ├── icon.png │ │ │ │ ├── favicon.ico │ │ │ │ ├── js │ │ │ │ │ └── signout-redirect.js │ │ │ │ └── lib │ │ │ │ │ └── bootstrap │ │ │ │ │ └── fonts │ │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ ├── Quickstart │ │ │ │ ├── Account │ │ │ │ │ ├── LogoutInputModel.cs │ │ │ │ │ ├── LogoutViewModel.cs │ │ │ │ │ ├── ExternalProvider.cs │ │ │ │ │ └── LoginInputModel.cs │ │ │ │ ├── Home │ │ │ │ │ └── ErrorViewModel.cs │ │ │ │ └── Consent │ │ │ │ │ ├── ConsentInputModel.cs │ │ │ │ │ ├── ScopeViewModel.cs │ │ │ │ │ └── ProcessConsentResult.cs │ │ │ ├── QuickstartIdentityServer.csproj │ │ │ └── Program.cs │ │ ├── Api │ │ │ ├── appsettings.json │ │ │ ├── Api.csproj │ │ │ ├── Controllers │ │ │ │ └── IdentityController.cs │ │ │ └── Program.cs │ │ ├── Client │ │ │ └── Client.csproj │ │ └── ResourceOwnerClient │ │ │ └── ResourceOwnerClient.csproj │ └── readme.md ├── 5_HybridFlowAuthenticationWithApiAccess │ ├── src │ │ ├── MvcClient │ │ │ ├── wwwroot │ │ │ │ ├── js │ │ │ │ │ ├── site.min.js │ │ │ │ │ └── site.js │ │ │ │ ├── favicon.ico │ │ │ │ ├── lib │ │ │ │ │ ├── bootstrap │ │ │ │ │ │ └── dist │ │ │ │ │ │ │ ├── fonts │ │ │ │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ │ │ │ │ └── js │ │ │ │ │ │ │ └── npm.js │ │ │ │ │ └── jquery │ │ │ │ │ │ └── .bower.json │ │ │ │ ├── css │ │ │ │ │ └── site.min.css │ │ │ │ └── _references.js │ │ │ ├── .bowerrc │ │ │ ├── Views │ │ │ │ ├── _ViewStart.cshtml │ │ │ │ ├── Shared │ │ │ │ │ └── Json.cshtml │ │ │ │ ├── _ViewImports.cshtml │ │ │ │ └── Home │ │ │ │ │ └── Index.cshtml │ │ │ ├── bower.json │ │ │ ├── appsettings.json │ │ │ ├── MvcClient.csproj │ │ │ ├── bundleconfig.json │ │ │ └── Program.cs │ │ ├── QuickstartIdentityServer │ │ │ ├── Views │ │ │ │ ├── _ViewStart.cshtml │ │ │ │ ├── _ViewImports.cshtml │ │ │ │ ├── Shared │ │ │ │ │ └── _ValidationSummary.cshtml │ │ │ │ ├── Account │ │ │ │ │ └── Logout.cshtml │ │ │ │ └── Diagnostics │ │ │ │ │ └── Index.cshtml │ │ │ ├── updateUI.ps1 │ │ │ ├── wwwroot │ │ │ │ ├── icon.jpg │ │ │ │ ├── icon.png │ │ │ │ ├── favicon.ico │ │ │ │ ├── js │ │ │ │ │ └── signout-redirect.js │ │ │ │ └── lib │ │ │ │ │ └── bootstrap │ │ │ │ │ └── fonts │ │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ ├── Quickstart │ │ │ │ ├── Account │ │ │ │ │ ├── LogoutInputModel.cs │ │ │ │ │ ├── LogoutViewModel.cs │ │ │ │ │ ├── ExternalProvider.cs │ │ │ │ │ └── LoginInputModel.cs │ │ │ │ ├── Home │ │ │ │ │ └── ErrorViewModel.cs │ │ │ │ └── Consent │ │ │ │ │ ├── ConsentInputModel.cs │ │ │ │ │ ├── ScopeViewModel.cs │ │ │ │ │ └── ProcessConsentResult.cs │ │ │ ├── QuickstartIdentityServer.csproj │ │ │ └── Program.cs │ │ ├── Api │ │ │ ├── appsettings.json │ │ │ ├── Api.csproj │ │ │ ├── Controllers │ │ │ │ └── IdentityController.cs │ │ │ └── Program.cs │ │ ├── Client │ │ │ └── Client.csproj │ │ └── ResourceOwnerClient │ │ │ └── ResourceOwnerClient.csproj │ └── readme.md ├── 4_ImplicitFlowAuthenticationWithExternal │ ├── src │ │ ├── MvcClient │ │ │ ├── wwwroot │ │ │ │ ├── js │ │ │ │ │ ├── site.min.js │ │ │ │ │ └── site.js │ │ │ │ ├── favicon.ico │ │ │ │ ├── lib │ │ │ │ │ ├── bootstrap │ │ │ │ │ │ └── dist │ │ │ │ │ │ │ ├── fonts │ │ │ │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ │ │ │ │ └── js │ │ │ │ │ │ │ └── npm.js │ │ │ │ │ └── jquery │ │ │ │ │ │ └── .bower.json │ │ │ │ ├── css │ │ │ │ │ └── site.min.css │ │ │ │ └── _references.js │ │ │ ├── .bowerrc │ │ │ ├── Views │ │ │ │ ├── _ViewStart.cshtml │ │ │ │ ├── _ViewImports.cshtml │ │ │ │ └── Home │ │ │ │ │ ├── Index.cshtml │ │ │ │ │ └── Secure.cshtml │ │ │ ├── bower.json │ │ │ ├── appsettings.json │ │ │ ├── MvcClient.csproj │ │ │ ├── bundleconfig.json │ │ │ ├── Program.cs │ │ │ └── Properties │ │ │ │ └── launchSettings.json │ │ ├── QuickstartIdentityServer │ │ │ ├── Views │ │ │ │ ├── _ViewStart.cshtml │ │ │ │ ├── _ViewImports.cshtml │ │ │ │ ├── Shared │ │ │ │ │ └── _ValidationSummary.cshtml │ │ │ │ └── Account │ │ │ │ │ └── Logout.cshtml │ │ │ ├── wwwroot │ │ │ │ ├── icon.jpg │ │ │ │ ├── icon.png │ │ │ │ ├── favicon.ico │ │ │ │ └── js │ │ │ │ │ └── signout-redirect.js │ │ │ ├── Quickstart │ │ │ │ ├── Account │ │ │ │ │ ├── ApplicationUser.cs │ │ │ │ │ ├── LogoutInputModel.cs │ │ │ │ │ ├── LogoutViewModel.cs │ │ │ │ │ ├── ExternalProvider.cs │ │ │ │ │ └── LoginInputModel.cs │ │ │ │ ├── Home │ │ │ │ │ └── ErrorViewModel.cs │ │ │ │ └── Consent │ │ │ │ │ ├── ConsentInputModel.cs │ │ │ │ │ ├── ScopeViewModel.cs │ │ │ │ │ └── ProcessConsentResult.cs │ │ │ ├── QuickstartIdentityServer.csproj │ │ │ └── Program.cs │ │ ├── Api │ │ │ ├── appsettings.json │ │ │ ├── Api.csproj │ │ │ ├── Controllers │ │ │ │ └── IdentityController.cs │ │ │ ├── Program.cs │ │ │ └── Properties │ │ │ │ └── launchSettings.json │ │ ├── Client │ │ │ └── Client.csproj │ │ └── ResourceOwnerClient │ │ │ └── ResourceOwnerClient.csproj │ └── readme.md ├── 1_ClientCredentials │ ├── src │ │ ├── Api │ │ │ ├── appsettings.json │ │ │ ├── Api.csproj │ │ │ ├── Controllers │ │ │ │ └── IdentityController.cs │ │ │ └── Program.cs │ │ ├── Client │ │ │ └── Client.csproj │ │ └── QuickstartIdentityServer │ │ │ ├── QuickstartIdentityServer.csproj │ │ │ └── Program.cs │ └── readme.md └── 2_ResourceOwnerPasswords │ └── src │ ├── Api │ ├── appsettings.json │ ├── Api.csproj │ ├── Controllers │ │ └── IdentityController.cs │ └── Program.cs │ ├── Client │ └── Client.csproj │ ├── ResourceOwnerClient │ └── ResourceOwnerClient.csproj │ └── QuickstartIdentityServer │ ├── QuickstartIdentityServer.csproj │ └── Program.cs └── Practice ├── 01_RoleAndClaim └── src │ ├── QuickstartIdentityServer │ ├── UserRepository.cs │ ├── QuickstartIdentityServer.csproj │ └── Program.cs │ ├── Api │ ├── appsettings.json │ ├── Api.csproj │ └── Program.cs │ ├── Client │ └── Client.csproj │ └── ResourceOwnerClient │ └── ResourceOwnerClient.csproj ├── 04_HTTPS └── src │ ├── Api │ ├── appsettings.json │ ├── Api.csproj │ ├── Controllers │ │ └── IdentityController.cs │ └── Program.cs │ ├── Client │ └── Client.csproj │ ├── ResourceOwnerClient │ └── ResourceOwnerClient.csproj │ └── QuickstartIdentityServer │ ├── QuickstartIdentityServer.csproj │ └── Program.cs └── 02_AccessTokenLifetime └── src ├── Api ├── appsettings.json ├── Api.csproj ├── Controllers │ └── IdentityController.cs └── Program.cs ├── Client └── Client.csproj ├── ResourceOwnerClient └── ResourceOwnerClient.csproj └── QuickstartIdentityServer ├── QuickstartIdentityServer.csproj └── Program.cs /Quickstarts/6_AspNetIdentity/src/MvcClient/wwwroot/js/site.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Quickstarts/7_JavaScriptClient/src/MvcClient/wwwroot/js/site.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Quickstarts/8_EntityFrameworkStorage/src/MvcClient/wwwroot/js/site.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Quickstarts/3_ImplicitFlowAuthentication/src/MvcClient/wwwroot/js/site.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Quickstarts/5_HybridFlowAuthenticationWithApiAccess/src/MvcClient/wwwroot/js/site.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Quickstarts/4_ImplicitFlowAuthenticationWithExternal/src/MvcClient/wwwroot/js/site.min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Quickstarts/6_AspNetIdentity/src/MvcClient/.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "wwwroot/lib" 3 | } 4 | -------------------------------------------------------------------------------- /Quickstarts/6_AspNetIdentity/src/MvcClient/wwwroot/js/site.js: -------------------------------------------------------------------------------- 1 | // Write your Javascript code. 2 | -------------------------------------------------------------------------------- /Quickstarts/7_JavaScriptClient/src/MvcClient/.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "wwwroot/lib" 3 | } 4 | -------------------------------------------------------------------------------- /Quickstarts/7_JavaScriptClient/src/MvcClient/wwwroot/js/site.js: -------------------------------------------------------------------------------- 1 | // Write your Javascript code. 2 | -------------------------------------------------------------------------------- /Quickstarts/3_ImplicitFlowAuthentication/src/MvcClient/.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "wwwroot/lib" 3 | } 4 | -------------------------------------------------------------------------------- /Quickstarts/3_ImplicitFlowAuthentication/src/MvcClient/wwwroot/js/site.js: -------------------------------------------------------------------------------- 1 | // Write your Javascript code. 2 | -------------------------------------------------------------------------------- /Quickstarts/6_AspNetIdentity/src/MvcClient/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Quickstarts/8_EntityFrameworkStorage/src/MvcClient/.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "wwwroot/lib" 3 | } 4 | -------------------------------------------------------------------------------- /Quickstarts/8_EntityFrameworkStorage/src/MvcClient/wwwroot/js/site.js: -------------------------------------------------------------------------------- 1 | // Write your Javascript code. 2 | -------------------------------------------------------------------------------- /Quickstarts/7_JavaScriptClient/src/MvcClient/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Quickstarts/8_EntityFrameworkStorage/src/MvcClient/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Quickstarts/3_ImplicitFlowAuthentication/src/MvcClient/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Quickstarts/4_ImplicitFlowAuthenticationWithExternal/src/MvcClient/.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "wwwroot/lib" 3 | } 4 | -------------------------------------------------------------------------------- /Quickstarts/4_ImplicitFlowAuthenticationWithExternal/src/MvcClient/wwwroot/js/site.js: -------------------------------------------------------------------------------- 1 | // Write your Javascript code. 2 | -------------------------------------------------------------------------------- /Quickstarts/5_HybridFlowAuthenticationWithApiAccess/src/MvcClient/.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "wwwroot/lib" 3 | } 4 | -------------------------------------------------------------------------------- /Quickstarts/5_HybridFlowAuthenticationWithApiAccess/src/MvcClient/wwwroot/js/site.js: -------------------------------------------------------------------------------- 1 | // Write your Javascript code. 2 | -------------------------------------------------------------------------------- /Quickstarts/6_AspNetIdentity/src/MvcClient/Views/Shared/Json.cshtml: -------------------------------------------------------------------------------- 1 |
@ViewBag.Json-------------------------------------------------------------------------------- /Quickstarts/7_JavaScriptClient/src/MvcClient/Views/Shared/Json.cshtml: -------------------------------------------------------------------------------- 1 |
@ViewBag.Json-------------------------------------------------------------------------------- /Quickstarts/7_JavaScriptClient/src/QuickstartIdentityServer/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Quickstarts/4_ImplicitFlowAuthenticationWithExternal/src/MvcClient/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Quickstarts/5_HybridFlowAuthenticationWithApiAccess/src/MvcClient/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Quickstarts/6_AspNetIdentity/src/IdentityServerWithAspNetIdentity/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Quickstarts/8_EntityFrameworkStorage/src/MvcClient/Views/Shared/Json.cshtml: -------------------------------------------------------------------------------- 1 |
@ViewBag.Json-------------------------------------------------------------------------------- /Quickstarts/8_EntityFrameworkStorage/src/QuickstartIdentityServer/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Quickstarts/3_ImplicitFlowAuthentication/src/QuickstartIdentityServer/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Quickstarts/4_ImplicitFlowAuthenticationWithExternal/src/QuickstartIdentityServer/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Quickstarts/5_HybridFlowAuthenticationWithApiAccess/src/MvcClient/Views/Shared/Json.cshtml: -------------------------------------------------------------------------------- 1 |
@ViewBag.Json-------------------------------------------------------------------------------- /Quickstarts/5_HybridFlowAuthenticationWithApiAccess/src/QuickstartIdentityServer/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /Quickstarts/6_AspNetIdentity/src/MvcClient/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using MvcClient 2 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers 3 | -------------------------------------------------------------------------------- /Quickstarts/7_JavaScriptClient/src/MvcClient/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using MvcClient 2 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers 3 | -------------------------------------------------------------------------------- /Quickstarts/3_ImplicitFlowAuthentication/src/MvcClient/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using MvcClient 2 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers 3 | -------------------------------------------------------------------------------- /Quickstarts/8_EntityFrameworkStorage/src/MvcClient/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using MvcClient 2 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers 3 | -------------------------------------------------------------------------------- /Quickstarts/6_AspNetIdentity/src/MvcClient/Views/Home/Index.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | ViewData["Title"] = "Home Page"; 3 | } 4 | 5 |
Would you like to logout of IdentityServer?
11 | 19 |Would you like to logout of IdentityServer?
11 | 19 |Would you like to logout of IdentityServer?
11 | 19 |Would you like to logout of IdentityServer?
11 | 19 |Would you like to logout of IdentityServer?
11 | 19 |Would you like to logout of IdentityServer?
11 | 19 |10 | Swapping to Development environment will display more detailed information about the error that occurred. 11 |
12 |13 | Development environment should not be enabled in deployed applications, as it can result in sensitive information from exceptions being displayed to end users. For local debugging, development environment can be enabled by setting the ASPNETCORE_ENVIRONMENT environment variable to Development, and restarting the application. 14 |
15 | -------------------------------------------------------------------------------- /Quickstarts/7_JavaScriptClient/src/MvcClient/Views/Shared/Error.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | ViewData["Title"] = "Error"; 3 | } 4 | 5 |10 | Swapping to Development environment will display more detailed information about the error that occurred. 11 |
12 |13 | Development environment should not be enabled in deployed applications, as it can result in sensitive information from exceptions being displayed to end users. For local debugging, development environment can be enabled by setting the ASPNETCORE_ENVIRONMENT environment variable to Development, and restarting the application. 14 |
15 | -------------------------------------------------------------------------------- /Quickstarts/7_JavaScriptClient/src/QuickstartIdentityServer/Program.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | using System; 5 | using Microsoft.AspNetCore; 6 | using Microsoft.AspNetCore.Hosting; 7 | 8 | namespace QuickstartIdentityServer 9 | { 10 | public class Program 11 | { 12 | public static void Main(string[] args) 13 | { 14 | Console.Title = "IdentityServer"; 15 | 16 | BuildWebHost(args).Run(); 17 | } 18 | 19 | public static IWebHost BuildWebHost(string[] args) => 20 | WebHost.CreateDefaultBuilder(args) 21 | .UseStartup10 | Swapping to Development environment will display more detailed information about the error that occurred. 11 |
12 |13 | Development environment should not be enabled in deployed applications, as it can result in sensitive information from exceptions being displayed to end users. For local debugging, development environment can be enabled by setting the ASPNETCORE_ENVIRONMENT environment variable to Development, and restarting the application. 14 |
15 | -------------------------------------------------------------------------------- /Quickstarts/3_ImplicitFlowAuthentication/src/QuickstartIdentityServer/Program.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. 2 | // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. 3 | 4 | using System; 5 | using Microsoft.AspNetCore; 6 | using Microsoft.AspNetCore.Hosting; 7 | 8 | namespace QuickstartIdentityServer 9 | { 10 | public class Program 11 | { 12 | public static void Main(string[] args) 13 | { 14 | Console.Title = "IdentityServer"; 15 | 16 | BuildWebHost(args).Run(); 17 | } 18 | 19 | public static IWebHost BuildWebHost(string[] args) => 20 | WebHost.CreateDefaultBuilder(args) 21 | .UseStartup10 | Swapping to Development environment will display more detailed information about the error that occurred. 11 |
12 |13 | Development environment should not be enabled in deployed applications, as it can result in sensitive information from exceptions being displayed to end users. For local debugging, development environment can be enabled by setting the ASPNETCORE_ENVIRONMENT environment variable to Development, and restarting the application. 14 |
15 | -------------------------------------------------------------------------------- /Quickstarts/4_ImplicitFlowAuthenticationWithExternal/src/Api/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "iisSettings": { 3 | "windowsAuthentication": false, 4 | "anonymousAuthentication": true, 5 | "iisExpress": { 6 | "applicationUrl": "http://localhost:5001", 7 | "sslPort": 0 8 | } 9 | }, 10 | "profiles": { 11 | "IIS Express": { 12 | "commandName": "IISExpress", 13 | "launchUrl": "api/values", 14 | "environmentVariables": { 15 | "ASPNETCORE_ENVIRONMENT": "Development" 16 | } 17 | }, 18 | "Api": { 19 | "commandName": "Project", 20 | "launchUrl": "http://localhost:5000/api/values", 21 | "environmentVariables": { 22 | "ASPNETCORE_ENVIRONMENT": "Development" 23 | }, 24 | "applicationUrl": "http://localhost:5001" 25 | } 26 | } 27 | } -------------------------------------------------------------------------------- /Quickstarts/6_AspNetIdentity/src/MvcClient/Views/Home/Secure.cshtml: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Authentication; 2 | @{ 3 | ViewData["Title"] = "Secure"; 4 | } 5 |