refactoring
This commit is contained in:
parent
075095bdbe
commit
69bec955bc
5 changed files with 52 additions and 34 deletions
|
|
@ -8,7 +8,7 @@ using Microsoft.Extensions.DependencyInjection;
|
|||
using Yavsc.Models;
|
||||
|
||||
namespace Yavsc.Providers {
|
||||
public sealed class AuthorizationProvider : OpenIdConnectServerProvider {
|
||||
public sealed class OIAuthorizationProvider : OpenIdConnectServerProvider {
|
||||
public override Task MatchEndpoint(MatchEndpointContext context) {
|
||||
// Note: by default, OpenIdConnectServerHandler only handles authorization requests made to the authorization endpoint.
|
||||
// This context handler uses a more relaxed policy that allows extracting authorization requests received at
|
||||
|
|
@ -117,4 +117,4 @@ namespace Yavsc.Providers {
|
|||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue