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.ApiKey/ApiKeyExtensions.cs
+20-20Lines changed: 20 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ public static class ApiKeyExtensions
18
18
19
19
/// <summary>
20
20
/// Adds API Key - In Header authentication scheme to the project.
21
-
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the <see cref="ApiKeyOptions.Events"/> if an implementation of <see cref="IApiKeyProvider"/> is not registered in the dependency container.
21
+
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the <see cref="ApiKeyOptions.Events"/>.
22
22
/// </summary>
23
23
/// <param name="builder"></param>
24
24
/// <returns>The instance of <see cref="AuthenticationBuilder"/></returns>
@@ -27,7 +27,7 @@ public static AuthenticationBuilder AddApiKeyInHeader(this AuthenticationBuilder
27
27
28
28
/// <summary>
29
29
/// Adds API Key - In Header authentication scheme to the project.
30
-
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the <see cref="ApiKeyOptions.Events"/> if an implementation of <see cref="IApiKeyProvider"/> is not registered in the dependency container.
30
+
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the <see cref="ApiKeyOptions.Events"/>.
@@ -37,7 +37,7 @@ public static AuthenticationBuilder AddApiKeyInHeader(this AuthenticationBuilder
37
37
38
38
/// <summary>
39
39
/// Adds API Key - In Header authentication scheme to the project.
40
-
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the Events property on <paramref name="configureOptions"/> if an implementation of <see cref="IApiKeyProvider"/> is not registered in the dependency container.
40
+
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the Events property on <paramref name="configureOptions"/>.
@@ -47,7 +47,7 @@ public static AuthenticationBuilder AddApiKeyInHeader(this AuthenticationBuilder
47
47
48
48
/// <summary>
49
49
/// Adds API Key - In Header authentication scheme to the project.
50
-
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the Events property on <paramref name="configureOptions"/> if an implementation of <see cref="IApiKeyProvider"/> is not registered in the dependency container.
50
+
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the Events property on <paramref name="configureOptions"/>.
@@ -58,7 +58,7 @@ public static AuthenticationBuilder AddApiKeyInHeader(this AuthenticationBuilder
58
58
59
59
/// <summary>
60
60
/// Adds API Key - In Header authentication scheme to the project.
61
-
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the Events property on <paramref name="configureOptions"/> if an implementation of <see cref="IApiKeyProvider"/> is not registered in the dependency container.
61
+
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the Events property on <paramref name="configureOptions"/>.
@@ -135,7 +135,7 @@ public static AuthenticationBuilder AddApiKeyInHeader<TApiKeyProvider>(this Auth
135
135
136
136
/// <summary>
137
137
/// Adds API Key - In Authorization Header authentication scheme to the project.
138
-
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the <see cref="ApiKeyOptions.Events"/> if an implementation of <see cref="IApiKeyProvider"/> is not registered in the dependency container.
138
+
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the <see cref="ApiKeyOptions.Events"/>.
139
139
/// </summary>
140
140
/// <param name="builder"></param>
141
141
/// <returns>The instance of <see cref="AuthenticationBuilder"/></returns>
@@ -144,7 +144,7 @@ public static AuthenticationBuilder AddApiKeyInAuthorizationHeader(this Authenti
144
144
145
145
/// <summary>
146
146
/// Adds API Key - In Authorization Header authentication scheme to the project.
147
-
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the <see cref="ApiKeyOptions.Events"/> if an implementation of <see cref="IApiKeyProvider"/> is not registered in the dependency container.
147
+
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the <see cref="ApiKeyOptions.Events"/>.
@@ -154,7 +154,7 @@ public static AuthenticationBuilder AddApiKeyInAuthorizationHeader(this Authenti
154
154
155
155
/// <summary>
156
156
/// Adds API Key - In Authorization Header authentication scheme to the project.
157
-
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the Events property on <paramref name="configureOptions"/> if an implementation of <see cref="IApiKeyProvider"/> is not registered in the dependency container.
157
+
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the Events property on <paramref name="configureOptions"/>.
@@ -164,7 +164,7 @@ public static AuthenticationBuilder AddApiKeyInAuthorizationHeader(this Authenti
164
164
165
165
/// <summary>
166
166
/// Adds API Key - In Authorization Header authentication scheme to the project.
167
-
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the Events property on <paramref name="configureOptions"/> if an implementation of <see cref="IApiKeyProvider"/> is not registered in the dependency container.
167
+
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the Events property on <paramref name="configureOptions"/>.
@@ -175,7 +175,7 @@ public static AuthenticationBuilder AddApiKeyInAuthorizationHeader(this Authenti
175
175
176
176
/// <summary>
177
177
/// Adds API Key - In Authorization Header authentication scheme to the project.
178
-
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the Events property on <paramref name="configureOptions"/> if an implementation of <see cref="IApiKeyProvider"/> is not registered in the dependency container.
178
+
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the Events property on <paramref name="configureOptions"/>.
@@ -252,7 +252,7 @@ public static AuthenticationBuilder AddApiKeyInAuthorizationHeader<TApiKeyProvid
252
252
253
253
/// <summary>
254
254
/// Adds API Key - In Query Parameters authentication scheme to the project.
255
-
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the <see cref="ApiKeyOptions.Events"/> if an implementation of <see cref="IApiKeyProvider"/> is not registered in the dependency container.
255
+
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the <see cref="ApiKeyOptions.Events"/>.
256
256
/// </summary>
257
257
/// <param name="builder"></param>
258
258
/// <returns>The instance of <see cref="AuthenticationBuilder"/></returns>
@@ -261,7 +261,7 @@ public static AuthenticationBuilder AddApiKeyInQueryParams(this AuthenticationBu
261
261
262
262
/// <summary>
263
263
/// Adds API Key - In Query Parameters authentication scheme to the project.
264
-
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the <see cref="ApiKeyOptions.Events"/> if an implementation of <see cref="IApiKeyProvider"/> is not registered in the dependency container.
264
+
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the <see cref="ApiKeyOptions.Events"/>.
@@ -271,7 +271,7 @@ public static AuthenticationBuilder AddApiKeyInQueryParams(this AuthenticationBu
271
271
272
272
/// <summary>
273
273
/// Adds API Key - In Query Parameters authentication scheme to the project.
274
-
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the Events property on <paramref name="configureOptions"/> if an implementation of <see cref="IApiKeyProvider"/> is not registered in the dependency container.
274
+
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the Events property on <paramref name="configureOptions"/>.
@@ -281,7 +281,7 @@ public static AuthenticationBuilder AddApiKeyInQueryParams(this AuthenticationBu
281
281
282
282
/// <summary>
283
283
/// Adds API Key - In Query Parameters authentication scheme to the project.
284
-
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the Events property on <paramref name="configureOptions"/> if an implementation of <see cref="IApiKeyProvider"/> is not registered in the dependency container.
284
+
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the Events property on <paramref name="configureOptions"/>.
@@ -292,7 +292,7 @@ public static AuthenticationBuilder AddApiKeyInQueryParams(this AuthenticationBu
292
292
293
293
/// <summary>
294
294
/// Adds API Key - In Query Parameters authentication scheme to the project.
295
-
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the Events property on <paramref name="configureOptions"/> if an implementation of <see cref="IApiKeyProvider"/> is not registered in the dependency container.
295
+
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the Events property on <paramref name="configureOptions"/>.
@@ -369,7 +369,7 @@ public static AuthenticationBuilder AddApiKeyInQueryParams<TApiKeyProvider>(this
369
369
370
370
/// <summary>
371
371
/// Adds API Key - In Header Or Query Parameters authentication scheme to the project.
372
-
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the <see cref="ApiKeyOptions.Events"/> if an implementation of <see cref="IApiKeyProvider"/> is not registered in the dependency container.
372
+
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the <see cref="ApiKeyOptions.Events"/>.
373
373
/// </summary>
374
374
/// <param name="builder"></param>
375
375
/// <returns>The instance of <see cref="AuthenticationBuilder"/></returns>
@@ -378,7 +378,7 @@ public static AuthenticationBuilder AddApiKeyInHeaderOrQueryParams(this Authenti
378
378
379
379
/// <summary>
380
380
/// Adds API Key - In Header Or Query Parameters authentication scheme to the project.
381
-
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the <see cref="ApiKeyOptions.Events"/> if an implementation of <see cref="IApiKeyProvider"/> is not registered in the dependency container.
381
+
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the <see cref="ApiKeyOptions.Events"/>.
@@ -388,7 +388,7 @@ public static AuthenticationBuilder AddApiKeyInHeaderOrQueryParams(this Authenti
388
388
389
389
/// <summary>
390
390
/// Adds API Key - In Header Or Query Parameters authentication scheme to the project.
391
-
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the Events property on <paramref name="configureOptions"/> if an implementation of <see cref="IApiKeyProvider"/> is not registered in the dependency container.
391
+
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the Events property on <paramref name="configureOptions"/>.
@@ -398,7 +398,7 @@ public static AuthenticationBuilder AddApiKeyInHeaderOrQueryParams(this Authenti
398
398
399
399
/// <summary>
400
400
/// Adds API Key - In Header Or Query Parameters authentication scheme to the project.
401
-
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the Events property on <paramref name="configureOptions"/> if an implementation of <see cref="IApiKeyProvider"/> is not registered in the dependency container.
401
+
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the Events property on <paramref name="configureOptions"/>.
@@ -409,7 +409,7 @@ public static AuthenticationBuilder AddApiKeyInHeaderOrQueryParams(this Authenti
409
409
410
410
/// <summary>
411
411
/// Adds API Key - In Header Or Query Parameters authentication scheme to the project.
412
-
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the Events property on <paramref name="configureOptions"/> if an implementation of <see cref="IApiKeyProvider"/> is not registered in the dependency container.
412
+
/// <see cref="ApiKeyEvents.OnValidateKey"/> delegate must be set on the Events property on <paramref name="configureOptions"/>.
0 commit comments