@@ -42,7 +42,9 @@ public virtual void Uninitialize()
42
42
43
43
public override IEnumerable < AuthenticationDescription > GetAuthenticationSchemes ( )
44
44
{
45
+ #pragma warning disable CS0618 // Type or member is obsolete
45
46
var handler = HttpAuthenticationFeature . Handler ;
47
+ #pragma warning restore CS0618 // Type or member is obsolete
46
48
if ( handler == null )
47
49
{
48
50
return new AuthenticationDescription [ 0 ] ;
@@ -61,7 +63,9 @@ public override async Task AuthenticateAsync(AuthenticateContext context)
61
63
throw new ArgumentNullException ( nameof ( context ) ) ;
62
64
}
63
65
66
+ #pragma warning disable CS0618 // Type or member is obsolete
64
67
var handler = HttpAuthenticationFeature . Handler ;
68
+ #pragma warning restore CS0618 // Type or member is obsolete
65
69
if ( handler != null )
66
70
{
67
71
await handler . AuthenticateAsync ( context ) ;
@@ -80,7 +84,9 @@ public override async Task<AuthenticateInfo> GetAuthenticateInfoAsync(string aut
80
84
throw new ArgumentNullException ( nameof ( authenticationScheme ) ) ;
81
85
}
82
86
87
+ #pragma warning disable CS0618 // Type or member is obsolete
83
88
var handler = HttpAuthenticationFeature . Handler ;
89
+ #pragma warning restore CS0618 // Type or member is obsolete
84
90
var context = new AuthenticateContext ( authenticationScheme ) ;
85
91
if ( handler != null )
86
92
{
@@ -107,7 +113,9 @@ public override async Task ChallengeAsync(string authenticationScheme, Authentic
107
113
throw new ArgumentException ( nameof ( authenticationScheme ) ) ;
108
114
}
109
115
116
+ #pragma warning disable CS0618 // Type or member is obsolete
110
117
var handler = HttpAuthenticationFeature . Handler ;
118
+ #pragma warning restore CS0618 // Type or member is obsolete
111
119
112
120
var challengeContext = new ChallengeContext ( authenticationScheme , properties ? . Items , behavior ) ;
113
121
if ( handler != null )
@@ -133,7 +141,9 @@ public override async Task SignInAsync(string authenticationScheme, ClaimsPrinci
133
141
throw new ArgumentNullException ( nameof ( principal ) ) ;
134
142
}
135
143
144
+ #pragma warning disable CS0618 // Type or member is obsolete
136
145
var handler = HttpAuthenticationFeature . Handler ;
146
+ #pragma warning restore CS0618 // Type or member is obsolete
137
147
138
148
var signInContext = new SignInContext ( authenticationScheme , principal , properties ? . Items ) ;
139
149
if ( handler != null )
@@ -154,7 +164,9 @@ public override async Task SignOutAsync(string authenticationScheme, Authenticat
154
164
throw new ArgumentException ( nameof ( authenticationScheme ) ) ;
155
165
}
156
166
167
+ #pragma warning disable CS0618 // Type or member is obsolete
157
168
var handler = HttpAuthenticationFeature . Handler ;
169
+ #pragma warning restore CS0618 // Type or member is obsolete
158
170
159
171
var signOutContext = new SignOutContext ( authenticationScheme , properties ? . Items ) ;
160
172
if ( handler != null )
0 commit comments