Skip to content

Commit

Permalink
Revert "Addressing IDE0290 and other warnings."
Browse files Browse the repository at this point in the history
This reverts commit ca84422.
  • Loading branch information
Psichorex committed Jan 30, 2024
1 parent 30bc0c7 commit 10ac10a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Apis/Context/AuthenticationContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,14 @@ protected override Task HandleRequirementAsync(AuthorizationHandlerContext conte
}
}

internal sealed class AlwaysLoggedInApiAuthenticationHandler(
IOptionsMonitor<ApiAuthorizationOptions> options,
ILoggerFactory logger,
UrlEncoder encoder) : AuthenticationHandler<ApiAuthorizationOptions>(options, logger, encoder)
internal sealed class AlwaysLoggedInApiAuthenticationHandler : AuthenticationHandler<ApiAuthorizationOptions>
{
public AlwaysLoggedInApiAuthenticationHandler(
IOptionsMonitor<ApiAuthorizationOptions> options,
ILoggerFactory logger,
UrlEncoder encoder)
: base(options, logger, encoder) { }

protected override Task<AuthenticateResult> HandleAuthenticateAsync() =>
Task.FromResult(
AuthenticateResult.Success(
Expand Down

0 comments on commit 10ac10a

Please sign in to comment.