You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/AspNetCore.Authentication.Basic/Events/BasicEvents.cs
+5-5
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ public class BasicEvents
20
20
/// or construct an authentication principal from the user details & attach it to the context.Principal property and finally call context.Success() method.
21
21
/// If only context.Principal property set without calling context.Success() method then, Success() method is automaticalled called.
/// A delegate assigned to this property will be invoked when the authentication succeeds. It will not be called if OnValidateCredentials delegate is assigned.
// This file is used by Code Analysis to maintain SuppressMessage
2
+
// attributes that are applied to this project.
3
+
// Project-level suppressions either have no target or are given
4
+
// a specific target and scoped to a namespace, type, member, etc.
5
+
6
+
usingSystem.Diagnostics.CodeAnalysis;
7
+
8
+
[assembly:SuppressMessage("Style","IDE0130:Namespace does not match folder structure",Justification="Does not need to match, folder used for structural purpose only.",Scope="namespace",Target="~N:AspNetCore.Authentication.Basic")]
9
+
[assembly:SuppressMessage("Style","IDE0290:Use primary constructor",Justification="Not a fan of this.")]
10
+
[assembly:SuppressMessage("Maintainability","CA1510:Use ArgumentNullException throw helper",Justification="Not supported by older frameworks.")]
0 commit comments