base namespace to nuget_host
This commit is contained in:
parent
1b2d850522
commit
a2f26f1e8e
31 changed files with 31 additions and 30 deletions
|
|
@ -18,7 +18,7 @@ using System;
|
|||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace IdentityServerHost.Quickstart.UI
|
||||
namespace nuget_host.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// This sample controller implements a typical login/logout/provision workflow for local and external accounts.
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ using IdentityServer4.Validation;
|
|||
using System.Collections.Generic;
|
||||
using System;
|
||||
using IdentityServer4.Models;
|
||||
namespace IdentityServerHost.Quickstart.UI
|
||||
namespace nuget_host.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// This controller processes the consent UI
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ using Microsoft.AspNetCore.Authentication;
|
|||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace IdentityServerHost.Quickstart.UI
|
||||
namespace nuget_host.Models
|
||||
{
|
||||
[SecurityHeaders]
|
||||
[Authorize]
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ using System.Linq;
|
|||
using System.Security.Claims;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace IdentityServerHost.Quickstart.UI
|
||||
namespace nuget_host.Models
|
||||
{
|
||||
[SecurityHeaders]
|
||||
[AllowAnonymous]
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ using Microsoft.AspNetCore.Authorization;
|
|||
using IdentityServer4.Events;
|
||||
using IdentityServer4.Extensions;
|
||||
|
||||
namespace IdentityServerHost.Quickstart.UI
|
||||
namespace nuget_host.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// This sample controller allows a user to revoke grants given to clients
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ namespace nuget_host.Controllers
|
|||
|
||||
public IActionResult Test()
|
||||
{
|
||||
ViewData["Message"] = "Your contact page.";
|
||||
ViewData["Message"] = "Your test page.";
|
||||
|
||||
return Ok(ViewData);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue