Skip to content

Commit

Permalink
Session Management - Go back to IdentityServerHost
Browse files Browse the repository at this point in the history
  • Loading branch information
josephdecock committed Jan 19, 2024
1 parent f64ea4e commit 92a64f7
Show file tree
Hide file tree
Showing 119 changed files with 66 additions and 66 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Duende.IdentityServer.Models;
using System.Collections.Generic;

namespace IdentityServer
namespace IdentityServerHost
{
public static class Clients
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page
@model IdentityServer.Pages.Account.AccessDeniedModel
@model IdentityServerHost.Pages.Account.AccessDeniedModel
@{
}
<div class="row">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;

namespace IdentityServer.Pages.Account;
namespace IdentityServerHost.Pages.Account;

public class AccessDeniedModel : PageModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page
@model IdentityServer.Pages.Login.Index
@model IdentityServerHost.Pages.Login.Index

<div class="login-page">
<div class="lead">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;

namespace IdentityServer.Pages.Login;
namespace IdentityServerHost.Pages.Login;

[SecurityHeaders]
[AllowAnonymous]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using System.ComponentModel.DataAnnotations;

namespace IdentityServer.Pages.Login;
namespace IdentityServerHost.Pages.Login;

public class InputModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace IdentityServer.Pages.Login;
namespace IdentityServerHost.Pages.Login;

public class LoginOptions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Collections.Generic;
using System.Linq;

namespace IdentityServer.Pages.Login;
namespace IdentityServerHost.Pages.Login;

public class ViewModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page
@model IdentityServer.Pages.Logout.Index
@model IdentityServerHost.Pages.Logout.Index

<div class="logout-page">
<div class="lead">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;

namespace IdentityServer.Pages.Logout;
namespace IdentityServerHost.Pages.Logout;

[SecurityHeaders]
[AllowAnonymous]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page
@model IdentityServer.Pages.Logout.LoggedOut
@model IdentityServerHost.Pages.Logout.LoggedOut

<div class="logged-out-page">
<h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc.RazorPages;

namespace IdentityServer.Pages.Logout;
namespace IdentityServerHost.Pages.Logout;

[SecurityHeaders]
[AllowAnonymous]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// See LICENSE in the project root for license information.


namespace IdentityServer.Pages.Logout;
namespace IdentityServerHost.Pages.Logout;

public class LoggedOutViewModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

namespace IdentityServer.Pages.Logout;
namespace IdentityServerHost.Pages.Logout;

public class LogoutOptions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page
@model IdentityServer.Pages.Ciba.AllModel
@model IdentityServerHost.Pages.Ciba.AllModel
@{
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;

namespace IdentityServer.Pages.Ciba;
namespace IdentityServerHost.Pages.Ciba;

[SecurityHeaders]
[Authorize]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page
@model IdentityServer.Pages.Ciba.Consent
@model IdentityServerHost.Pages.Ciba.Consent
@{
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;

namespace IdentityServer.Pages.Ciba;
namespace IdentityServerHost.Pages.Ciba;

[Authorize]
[SecurityHeadersAttribute]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// See LICENSE in the project root for license information.


namespace IdentityServer.Pages.Consent;
namespace IdentityServerHost.Pages.Ciba;

public class ConsentOptions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page
@model IdentityServer.Pages.Ciba.IndexModel
@model IdentityServerHost.Pages.Ciba.IndexModel
@{
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;

namespace IdentityServer.Pages.Ciba;
namespace IdentityServerHost.Pages.Ciba;

[AllowAnonymous]
[SecurityHeaders]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using System.Collections.Generic;

namespace IdentityServer.Pages.Ciba;
namespace IdentityServerHost.Pages.Ciba;

public class InputModel
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

using System.Collections.Generic;

namespace IdentityServer.Pages.Ciba;
namespace IdentityServerHost.Pages.Ciba;

public class ViewModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@using IdentityServer.Pages.Consent
@using IdentityServerHost.Pages.Ciba
@model ScopeViewModel

<li class="list-group-item">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// See LICENSE in the project root for license information.


namespace IdentityServer.Pages.Ciba;
namespace IdentityServerHost.Pages.Consent;

public class ConsentOptions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page
@model IdentityServer.Pages.Consent.Index
@model IdentityServerHost.Pages.Consent.Index
@{
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;

namespace IdentityServer.Pages.Consent;
namespace IdentityServerHost.Pages.Consent;

[Authorize]
[SecurityHeadersAttribute]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using System.Collections.Generic;

namespace IdentityServer.Pages.Consent;
namespace IdentityServerHost.Pages.Consent;

public class InputModel
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

using System.Collections.Generic;

namespace IdentityServer.Pages.Consent;
namespace IdentityServerHost.Pages.Consent;

public class ViewModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@using IdentityServer.Pages.Ciba
@using IdentityServerHost.Pages.Consent
@model ScopeViewModel

<li class="list-group-item">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// See LICENSE in the project root for license information.


namespace IdentityServer.Pages.Device;
namespace IdentityServerHost.Pages.Device;

public class DeviceOptions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page
@model IdentityServer.Pages.Device.Index
@model IdentityServerHost.Pages.Device.Index
@{
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
using Duende.IdentityServer.Models;
using Duende.IdentityServer.Services;
using Duende.IdentityServer.Validation;
using IdentityServer.Pages.Consent;
using IdentityServerHost.Pages.Consent;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;

namespace IdentityServer.Pages.Device;
namespace IdentityServerHost.Pages.Device;

[SecurityHeaders]
[Authorize]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Collections.Generic;

namespace IdentityServer.Pages.Device;
namespace IdentityServerHost.Pages.Device;

public class InputModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page
@model IdentityServer.Pages.Device.SuccessModel
@model IdentityServerHost.Pages.Device.SuccessModel
@{
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc.RazorPages;

namespace IdentityServer.Pages.Device;
namespace IdentityServerHost.Pages.Device;

[SecurityHeaders]
[Authorize]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Collections.Generic;

namespace IdentityServer.Pages.Device;
namespace IdentityServerHost.Pages.Device;

public class ViewModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@using IdentityServer.Pages.Device
@using IdentityServerHost.Pages.Device
@model ScopeViewModel

<li class="list-group-item">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page
@model IdentityServer.Pages.Diagnostics.Index
@model IdentityServerHost.Pages.Diagnostics.Index

<div class="diagnostics-page">
<div class="lead">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Linq;
using Microsoft.AspNetCore.Authorization;

namespace IdentityServer.Pages.Diagnostics;
namespace IdentityServerHost.Pages.Diagnostics;

[SecurityHeaders]
[Authorize]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using System.Text;
using System.Text.Json;

namespace IdentityServer.Pages.Diagnostics;
namespace IdentityServerHost.Pages.Diagnostics;

public class ViewModel
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.DependencyInjection;

namespace IdentityServer.Pages;
namespace IdentityServerHost.Pages;

public static class Extensions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page
@model IdentityServer.Pages.ExternalLogin.Callback
@model IdentityServerHost.Pages.ExternalLogin.Callback

@{
Layout = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;

namespace IdentityServer.Pages.ExternalLogin;
namespace IdentityServerHost.Pages.ExternalLogin;

[AllowAnonymous]
[SecurityHeaders]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page
@model IdentityServer.Pages.ExternalLogin.Challenge
@model IdentityServerHost.Pages.ExternalLogin.Challenge

@{
Layout = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;

namespace IdentityServer.Pages.ExternalLogin;
namespace IdentityServerHost.Pages.ExternalLogin;

[AllowAnonymous]
[SecurityHeaders]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page
@model IdentityServer.Pages.Grants.Index
@model IdentityServerHost.Pages.Grants.Index
@{
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;

namespace IdentityServer.Pages.Grants;
namespace IdentityServerHost.Pages.Grants;

[SecurityHeaders]
[Authorize]
Expand Down
Loading

0 comments on commit 92a64f7

Please sign in to comment.