Init
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using maintenance.Authentication.Abstractions;
|
||||
using maintenance.Authentication.Configuration;
|
||||
using Microsoft.AspNetCore.Authentication;
|
||||
|
||||
namespace maintenance.Authentication.Providers.Oidc;
|
||||
|
||||
public sealed class OidcAuthProvider : IAuthProvider
|
||||
{
|
||||
public const string Scheme = "oidc";
|
||||
|
||||
public string Mode => AuthModes.Oidc;
|
||||
|
||||
public AuthenticationBuilder Configure(
|
||||
AuthenticationBuilder builder,
|
||||
IConfiguration configuration)
|
||||
{
|
||||
throw new NotSupportedException(
|
||||
"OIDC provider is not implemented yet. Set AUTH_MODE=WSFED for current deployment.");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user