diff --git a/src/AspNetIdentity/IdentityServerBuilderExtensions.cs b/src/AspNetIdentity/IdentityServerBuilderExtensions.cs
index 73e979505..d680161ff 100644
--- a/src/AspNetIdentity/IdentityServerBuilderExtensions.cs
+++ b/src/AspNetIdentity/IdentityServerBuilderExtensions.cs
@@ -29,7 +29,6 @@ public static class IdentityServerBuilderExtensions
///
/// The type of the user.
/// The builder.
- ///
public static IIdentityServerBuilder AddAspNetIdentity(this IIdentityServerBuilder builder)
where TUser : class
{
diff --git a/src/AspNetIdentity/ProfileService.cs b/src/AspNetIdentity/ProfileService.cs
index 593c686b5..57da5caaa 100644
--- a/src/AspNetIdentity/ProfileService.cs
+++ b/src/AspNetIdentity/ProfileService.cs
@@ -67,7 +67,6 @@ public ProfileService(UserManager userManager,
/// This method is called whenever claims about the user are requested (e.g. during token creation or via the userinfo endpoint)
///
/// The context.
- ///
public virtual async Task GetProfileDataAsync(ProfileDataRequestContext context)
{
var sub = context.Subject?.GetSubjectId();
@@ -81,7 +80,6 @@ public virtual async Task GetProfileDataAsync(ProfileDataRequestContext context)
///
///
///
- ///
protected virtual async Task GetProfileDataAsync(ProfileDataRequestContext context, string subjectId)
{
var user = await FindUserAsync(subjectId);
@@ -96,7 +94,6 @@ protected virtual async Task GetProfileDataAsync(ProfileDataRequestContext conte
///
///
///
- ///
protected virtual async Task GetProfileDataAsync(ProfileDataRequestContext context, TUser user)
{
var principal = await GetUserClaimsAsync(user);
@@ -107,7 +104,6 @@ protected virtual async Task GetProfileDataAsync(ProfileDataRequestContext conte
/// Gets the claims for a user.
///
///
- ///
protected virtual async Task GetUserClaimsAsync(TUser user)
{
var principal = await ClaimsFactory.CreateAsync(user);
@@ -121,7 +117,6 @@ protected virtual async Task GetUserClaimsAsync(TUser user)
/// (e.g. during token issuance or validation).
///
/// The context.
- ///
public virtual async Task IsActiveAsync(IsActiveContext context)
{
var sub = context.Subject?.GetSubjectId();
@@ -135,7 +130,6 @@ public virtual async Task IsActiveAsync(IsActiveContext context)
///
///
///
- ///
protected virtual async Task IsActiveAsync(IsActiveContext context, string subjectId)
{
var user = await FindUserAsync(subjectId);
@@ -154,7 +148,6 @@ protected virtual async Task IsActiveAsync(IsActiveContext context, string subje
///
///
///
- ///
protected virtual async Task IsActiveAsync(IsActiveContext context, TUser user)
{
context.IsActive = await IsUserActiveAsync(user);
@@ -164,7 +157,6 @@ protected virtual async Task IsActiveAsync(IsActiveContext context, TUser user)
/// Returns if the user is active.
///
///
- ///
public virtual Task IsUserActiveAsync(TUser user)
{
return Task.FromResult(true);
@@ -174,7 +166,6 @@ public virtual Task IsUserActiveAsync(TUser user)
/// Loads the user by the subject id.
///
///
- ///
protected virtual async Task FindUserAsync(string subjectId)
{
var user = await UserManager.FindByIdAsync(subjectId);
diff --git a/src/AspNetIdentity/ResourceOwnerPasswordValidator.cs b/src/AspNetIdentity/ResourceOwnerPasswordValidator.cs
index 4f7ea99e8..45d730b6f 100644
--- a/src/AspNetIdentity/ResourceOwnerPasswordValidator.cs
+++ b/src/AspNetIdentity/ResourceOwnerPasswordValidator.cs
@@ -43,7 +43,6 @@ public ResourceOwnerPasswordValidator(
/// Validates the resource owner password credential
///
/// The context.
- ///
public virtual async Task ValidateAsync(ResourceOwnerPasswordValidationContext context)
{
var user = await _userManager.FindByNameAsync(context.UserName);
diff --git a/src/AspNetIdentity/SecurityStampValidatorCallback.cs b/src/AspNetIdentity/SecurityStampValidatorCallback.cs
index 56926d336..bf13c2b87 100644
--- a/src/AspNetIdentity/SecurityStampValidatorCallback.cs
+++ b/src/AspNetIdentity/SecurityStampValidatorCallback.cs
@@ -18,7 +18,6 @@ public class SecurityStampValidatorCallback
/// This is needed to preserve claims such as idp, auth_time, amr.
///
/// The context.
- ///
public static Task UpdatePrincipal(SecurityStampRefreshingPrincipalContext context)
{
var newClaimTypes = context.NewPrincipal.Claims.Select(x => x.Type).ToArray();
diff --git a/src/Configuration/RequestProcessing/DynamicClientRegistrationRequestProcessor.cs b/src/Configuration/RequestProcessing/DynamicClientRegistrationRequestProcessor.cs
index 53f1d41b1..4923fd4f6 100644
--- a/src/Configuration/RequestProcessing/DynamicClientRegistrationRequestProcessor.cs
+++ b/src/Configuration/RequestProcessing/DynamicClientRegistrationRequestProcessor.cs
@@ -133,7 +133,6 @@ protected virtual async Task AddClientSecret(
/// The dynamic client registration context, which
/// includes the client model, the DCR request, and other contextual
/// information.
- ///
protected virtual Task AddClientId(
DynamicClientRegistrationContext context)
{
diff --git a/src/EntityFramework.Storage/Configuration/ServiceCollectionExtensions.cs b/src/EntityFramework.Storage/Configuration/ServiceCollectionExtensions.cs
index f8e596a7c..694eb7d6c 100644
--- a/src/EntityFramework.Storage/Configuration/ServiceCollectionExtensions.cs
+++ b/src/EntityFramework.Storage/Configuration/ServiceCollectionExtensions.cs
@@ -23,7 +23,6 @@ public static class IdentityServerEntityFrameworkBuilderExtensions
///
///
/// The store options action.
- ///
public static IServiceCollection AddConfigurationDbContext(this IServiceCollection services,
Action? storeOptionsAction = null)
{
@@ -36,7 +35,6 @@ public static IServiceCollection AddConfigurationDbContext(this IServiceCollecti
/// The IConfigurationDbContext to use.
///
/// The store options action.
- ///
public static IServiceCollection AddConfigurationDbContext(this IServiceCollection services,
Action? storeOptionsAction = null)
where TContext : DbContext, IConfigurationDbContext
@@ -97,7 +95,6 @@ public static IServiceCollection AddConfigurationDbContext(this IServi
///
///
/// The store options action.
- ///
public static IServiceCollection AddOperationalDbContext(this IServiceCollection services,
Action? storeOptionsAction = null)
{
@@ -110,7 +107,6 @@ public static IServiceCollection AddOperationalDbContext(this IServiceCollection
/// The IPersistedGrantDbContext to use.
///
/// The store options action.
- ///
public static IServiceCollection AddOperationalDbContext(this IServiceCollection services,
Action? storeOptionsAction = null)
where TContext : DbContext, IPersistedGrantDbContext
@@ -174,7 +170,6 @@ public static IServiceCollection AddOperationalDbContext(this IService
///
///
///
- ///
public static IServiceCollection AddOperationalStoreNotification(this IServiceCollection services)
where T : class, IOperationalStoreNotification
{
diff --git a/src/EntityFramework.Storage/Interfaces/IPersistedGrantDbContext.cs b/src/EntityFramework.Storage/Interfaces/IPersistedGrantDbContext.cs
index 6f05f4971..72e6d1ed2 100644
--- a/src/EntityFramework.Storage/Interfaces/IPersistedGrantDbContext.cs
+++ b/src/EntityFramework.Storage/Interfaces/IPersistedGrantDbContext.cs
@@ -61,7 +61,6 @@ public interface IPersistedGrantDbContext : IDisposable
///
/// Saves the changes.
///
- ///
Task SaveChangesAsync(CancellationToken cancellationToken);
// this is here only because of this: https://github.com/DuendeSoftware/IdentityServer/issues/472
@@ -70,6 +69,5 @@ public interface IPersistedGrantDbContext : IDisposable
///
/// Saves the changes.
///
- ///
Task SaveChangesAsync() => SaveChangesAsync(CancellationToken.None);
}
diff --git a/src/EntityFramework.Storage/Mappers/ApiResourceMappers.cs b/src/EntityFramework.Storage/Mappers/ApiResourceMappers.cs
index 9a6a38a5c..521350f12 100644
--- a/src/EntityFramework.Storage/Mappers/ApiResourceMappers.cs
+++ b/src/EntityFramework.Storage/Mappers/ApiResourceMappers.cs
@@ -16,7 +16,6 @@ public static class ApiResourceMappers
/// Maps an entity to a model.
///
/// The entity.
- ///
public static Models.ApiResource ToModel(this Entities.ApiResource entity)
{
return entity == null ? null :
@@ -47,7 +46,6 @@ public static Models.ApiResource ToModel(this Entities.ApiResource entity)
/// Maps a model to an entity.
///
/// The model.
- ///
public static Entities.ApiResource ToEntity(this Models.ApiResource model)
{
return model == null ? null :
diff --git a/src/EntityFramework.Storage/Mappers/ClientMappers.cs b/src/EntityFramework.Storage/Mappers/ClientMappers.cs
index a98dbd04b..974a60a5c 100644
--- a/src/EntityFramework.Storage/Mappers/ClientMappers.cs
+++ b/src/EntityFramework.Storage/Mappers/ClientMappers.cs
@@ -19,7 +19,6 @@ public static class ClientMappers
/// Maps an entity to a model.
///
/// The entity.
- ///
public static Models.Client ToModel(this Entities.Client entity)
{
return new Models.Client
@@ -99,7 +98,6 @@ public static Models.Client ToModel(this Entities.Client entity)
/// Maps a model to an entity.
///
/// The model.
- ///
public static Entities.Client ToEntity(this Models.Client model)
{
return new Entities.Client
diff --git a/src/EntityFramework.Storage/Mappers/IdentityProviderMappers.cs b/src/EntityFramework.Storage/Mappers/IdentityProviderMappers.cs
index da8bc8305..31b5748ae 100644
--- a/src/EntityFramework.Storage/Mappers/IdentityProviderMappers.cs
+++ b/src/EntityFramework.Storage/Mappers/IdentityProviderMappers.cs
@@ -13,7 +13,6 @@ public static class IdentityProviderMappers
/// Maps an entity to a model.
///
/// The entity.
- ///
public static Models.IdentityProvider ToModel(this Entities.IdentityProvider entity)
{
return entity == null ? null :
@@ -31,7 +30,6 @@ public static Models.IdentityProvider ToModel(this Entities.IdentityProvider ent
/// Maps a model to an entity.
///
/// The model.
- ///
public static Entities.IdentityProvider ToEntity(this Models.IdentityProvider model)
{
return model == null ? null :
diff --git a/src/EntityFramework.Storage/Mappers/IdentityResourceMappers.cs b/src/EntityFramework.Storage/Mappers/IdentityResourceMappers.cs
index bffd0e75f..2828068e7 100644
--- a/src/EntityFramework.Storage/Mappers/IdentityResourceMappers.cs
+++ b/src/EntityFramework.Storage/Mappers/IdentityResourceMappers.cs
@@ -16,7 +16,6 @@ public static class IdentityResourceMappers
/// Maps an entity to a model.
///
/// The entity.
- ///
public static Models.IdentityResource ToModel(this Entities.IdentityResource entity)
{
return entity == null ? null :
@@ -39,7 +38,6 @@ public static Models.IdentityResource ToModel(this Entities.IdentityResource ent
/// Maps a model to an entity.
///
/// The model.
- ///
public static Entities.IdentityResource ToEntity(this Models.IdentityResource model)
{
return model == null ? null :
diff --git a/src/EntityFramework.Storage/Mappers/PersistedGrantMappers.cs b/src/EntityFramework.Storage/Mappers/PersistedGrantMappers.cs
index 8ba59c24d..38a682292 100644
--- a/src/EntityFramework.Storage/Mappers/PersistedGrantMappers.cs
+++ b/src/EntityFramework.Storage/Mappers/PersistedGrantMappers.cs
@@ -15,7 +15,6 @@ public static class PersistedGrantMappers
/// Maps an entity to a model.
///
/// The entity.
- ///
public static PersistedGrant ToModel(this Entities.PersistedGrant entity)
{
return entity == null ? null :
@@ -38,7 +37,6 @@ public static PersistedGrant ToModel(this Entities.PersistedGrant entity)
/// Maps a model to an entity.
///
/// The model.
- ///
public static Entities.PersistedGrant ToEntity(this Models.PersistedGrant model)
{
return model == null ? null :
diff --git a/src/EntityFramework.Storage/Mappers/PushedAuthorizationRequestMappers.cs b/src/EntityFramework.Storage/Mappers/PushedAuthorizationRequestMappers.cs
index a6f3736e4..397e48af1 100644
--- a/src/EntityFramework.Storage/Mappers/PushedAuthorizationRequestMappers.cs
+++ b/src/EntityFramework.Storage/Mappers/PushedAuthorizationRequestMappers.cs
@@ -15,7 +15,6 @@ public static class PushedAuthorizationRequestMappers
/// Maps an entity to a model.
///
/// The entity.
- ///
public static Models.PushedAuthorizationRequest ToModel(this PushedAuthorizationRequest entity)
{
return entity == null ? null :
@@ -31,7 +30,6 @@ public static Models.PushedAuthorizationRequest ToModel(this PushedAuthorization
/// Maps a model to an entity.
///
/// The model.
- ///
public static Entities.PushedAuthorizationRequest ToEntity(this Models.PushedAuthorizationRequest model)
{
return model == null ? null :
diff --git a/src/EntityFramework.Storage/Mappers/ScopeMappers.cs b/src/EntityFramework.Storage/Mappers/ScopeMappers.cs
index 2abc27006..fa294a4fb 100644
--- a/src/EntityFramework.Storage/Mappers/ScopeMappers.cs
+++ b/src/EntityFramework.Storage/Mappers/ScopeMappers.cs
@@ -17,7 +17,6 @@ public static class ScopeMappers
/// Maps an entity to a model.
///
/// The entity.
- ///
public static Models.ApiScope ToModel(this ApiScope entity)
{
return entity == null ? null :
@@ -40,7 +39,6 @@ public static Models.ApiScope ToModel(this ApiScope entity)
/// Maps a model to an entity.
///
/// The model.
- ///
public static Entities.ApiScope ToEntity(this Models.ApiScope model)
{
return model == null ? null :
diff --git a/src/EntityFramework.Storage/Stores/DeviceFlowStore.cs b/src/EntityFramework.Storage/Stores/DeviceFlowStore.cs
index 34bb1f379..2bb88b8e4 100644
--- a/src/EntityFramework.Storage/Stores/DeviceFlowStore.cs
+++ b/src/EntityFramework.Storage/Stores/DeviceFlowStore.cs
@@ -68,7 +68,6 @@ public DeviceFlowStore(
/// The device code.
/// The user code.
/// The data.
- ///
public virtual async Task StoreDeviceAuthorizationAsync(string deviceCode, string userCode, DeviceCode data)
{
using var activity = Tracing.StoreActivitySource.StartActivity("DeviceFlowStore.StoreDeviceAuthorization");
@@ -82,7 +81,6 @@ public virtual async Task StoreDeviceAuthorizationAsync(string deviceCode, strin
/// Finds device authorization by user code.
///
/// The user code.
- ///
public virtual async Task FindByUserCodeAsync(string userCode)
{
using var activity = Tracing.StoreActivitySource.StartActivity("DeviceFlowStore.FindByUserCode");
@@ -101,7 +99,6 @@ public virtual async Task FindByUserCodeAsync(string userCode)
/// Finds device authorization by device code.
///
/// The device code.
- ///
public virtual async Task FindByDeviceCodeAsync(string deviceCode)
{
using var activity = Tracing.StoreActivitySource.StartActivity("DeviceFlowStore.FindByDeviceCode");
@@ -121,7 +118,6 @@ public virtual async Task FindByDeviceCodeAsync(string deviceCode)
///
/// The user code.
/// The data.
- ///
public virtual async Task UpdateByUserCodeAsync(string userCode, DeviceCode data)
{
using var activity = Tracing.StoreActivitySource.StartActivity("DeviceFlowStore.UpdateByUserCode");
@@ -156,7 +152,6 @@ public virtual async Task UpdateByUserCodeAsync(string userCode, DeviceCode data
/// Removes the device authorization, searching by device code.
///
/// The device code.
- ///
public virtual async Task RemoveByDeviceCodeAsync(string deviceCode)
{
using var activity = Tracing.StoreActivitySource.StartActivity("DeviceFlowStore.RemoveByDeviceCode");
@@ -192,7 +187,6 @@ public virtual async Task RemoveByDeviceCodeAsync(string deviceCode)
///
///
///
- ///
protected DeviceFlowCodes ToEntity(DeviceCode model, string deviceCode, string userCode)
{
if (model == null || deviceCode == null || userCode == null) return null;
@@ -215,7 +209,6 @@ protected DeviceFlowCodes ToEntity(DeviceCode model, string deviceCode, string u
/// Converts a serialized DeviceCode to a model.
///
///
- ///
protected DeviceCode ToModel(string entity)
{
if (entity == null) return null;
diff --git a/src/EntityFramework.Storage/Stores/IdentityProviderStore.cs b/src/EntityFramework.Storage/Stores/IdentityProviderStore.cs
index b87a139c9..c5b0a9d1d 100644
--- a/src/EntityFramework.Storage/Stores/IdentityProviderStore.cs
+++ b/src/EntityFramework.Storage/Stores/IdentityProviderStore.cs
@@ -89,7 +89,6 @@ public async Task GetBySchemeAsync(string scheme)
/// Maps from the identity provider entity to identity provider model.
///
///
- ///
protected virtual IdentityProvider MapIdp(Entities.IdentityProvider idp)
{
if (idp.Type == "oidc")
diff --git a/src/EntityFramework.Storage/Stores/ResourceStore.cs b/src/EntityFramework.Storage/Stores/ResourceStore.cs
index a8a81ceb0..373f1de50 100644
--- a/src/EntityFramework.Storage/Stores/ResourceStore.cs
+++ b/src/EntityFramework.Storage/Stores/ResourceStore.cs
@@ -56,7 +56,6 @@ public ResourceStore(IConfigurationDbContext context, ILogger log
/// Finds the API resources by name.
///
/// The names.
- ///
public virtual async Task> FindApiResourcesByNameAsync(IEnumerable apiResourceNames)
{
using var activity = Tracing.StoreActivitySource.StartActivity("ResourceStore.FindApiResourcesByName");
@@ -96,7 +95,6 @@ where apiResourceNames.Contains(apiResource.Name)
/// Gets API resources by scope name.
///
///
- ///
public virtual async Task> FindApiResourcesByScopeNameAsync(IEnumerable scopeNames)
{
using var activity = Tracing.StoreActivitySource.StartActivity("ResourceStore.FindApiResourcesByScopeName");
@@ -129,7 +127,6 @@ where api.Scopes.Any(x => names.Contains(x.Scope))
/// Gets identity resources by scope name.
///
///
- ///
public virtual async Task> FindIdentityResourcesByScopeNameAsync(IEnumerable scopeNames)
{
using var activity = Tracing.StoreActivitySource.StartActivity("ResourceStore.FindIdentityResourcesByScopeName");
@@ -159,7 +156,6 @@ where scopes.Contains(identityResource.Name)
/// Gets scopes by scope name.
///
///
- ///
public virtual async Task> FindApiScopesByNameAsync(IEnumerable scopeNames)
{
using var activity = Tracing.StoreActivitySource.StartActivity("ResourceStore.FindApiScopesByName");
@@ -188,7 +184,6 @@ where scopes.Contains(scope.Name)
///
/// Gets all resources.
///
- ///
public virtual async Task GetAllResourcesAsync()
{
using var activity = Tracing.StoreActivitySource.StartActivity("ResourceStore.GetAllResources");
diff --git a/src/EntityFramework.Storage/Stores/SigningKeyStore.cs b/src/EntityFramework.Storage/Stores/SigningKeyStore.cs
index 87f04828c..eac2e2ba5 100644
--- a/src/EntityFramework.Storage/Stores/SigningKeyStore.cs
+++ b/src/EntityFramework.Storage/Stores/SigningKeyStore.cs
@@ -56,7 +56,6 @@ public SigningKeyStore(IPersistedGrantDbContext context, ILogger
/// Loads all keys from store.
///
- ///
public async Task> LoadKeysAsync()
{
using var activity = Tracing.StoreActivitySource.StartActivity("SigningKeyStore.LoadKeys");
@@ -80,7 +79,6 @@ public async Task> LoadKeysAsync()
/// Persists new key in store.
///
///
- ///
public Task StoreKeyAsync(SerializedKey key)
{
using var activity = Tracing.StoreActivitySource.StartActivity("SigningKeyStore.StoreKey");
@@ -104,7 +102,6 @@ public Task StoreKeyAsync(SerializedKey key)
/// Deletes key from storage.
///
///
- ///
public async Task DeleteKeyAsync(string id)
{
using var activity = Tracing.StoreActivitySource.StartActivity("SigningKeyStore.DeleteKey");
diff --git a/src/EntityFramework.Storage/TokenCleanup/IOperationalStoreNotification.cs b/src/EntityFramework.Storage/TokenCleanup/IOperationalStoreNotification.cs
index aae21483e..c86025c3b 100644
--- a/src/EntityFramework.Storage/TokenCleanup/IOperationalStoreNotification.cs
+++ b/src/EntityFramework.Storage/TokenCleanup/IOperationalStoreNotification.cs
@@ -21,7 +21,6 @@ public interface IOperationalStoreNotification
///
///
///
- ///
Task PersistedGrantsRemovedAsync(IEnumerable persistedGrants, CancellationToken cancellationToken = default);
///
@@ -29,6 +28,5 @@ public interface IOperationalStoreNotification
///
///
///
- ///
Task DeviceCodesRemovedAsync(IEnumerable deviceCodes, CancellationToken cancellationToken = default);
}
diff --git a/src/EntityFramework.Storage/TokenCleanup/ITokenCleanupService.cs b/src/EntityFramework.Storage/TokenCleanup/ITokenCleanupService.cs
index 9f48873ca..5b23d5381 100644
--- a/src/EntityFramework.Storage/TokenCleanup/ITokenCleanupService.cs
+++ b/src/EntityFramework.Storage/TokenCleanup/ITokenCleanupService.cs
@@ -21,6 +21,5 @@ public interface ITokenCleanupService
///
/// A token that propagates notification
/// that the cleanup operation should be canceled.
- ///
Task CleanupGrantsAsync(CancellationToken cancellationToken = default);
}
diff --git a/src/EntityFramework.Storage/TokenCleanup/TokenCleanupService.cs b/src/EntityFramework.Storage/TokenCleanup/TokenCleanupService.cs
index 3e8f7f150..16afae671 100644
--- a/src/EntityFramework.Storage/TokenCleanup/TokenCleanupService.cs
+++ b/src/EntityFramework.Storage/TokenCleanup/TokenCleanupService.cs
@@ -66,7 +66,6 @@ public async Task CleanupGrantsAsync(CancellationToken cancellationToken = defau
///
/// Removes the stale persisted grants.
///
- ///
protected virtual async Task RemoveGrantsAsync(CancellationToken cancellationToken = default)
{
await RemoveExpiredPersistedGrantsAsync(cancellationToken);
@@ -79,7 +78,6 @@ protected virtual async Task RemoveGrantsAsync(CancellationToken cancellationTok
///
/// Removes the expired persisted grants.
///
- ///
protected virtual async Task RemoveExpiredPersistedGrantsAsync(CancellationToken cancellationToken = default)
{
var found = Int32.MaxValue;
@@ -148,7 +146,6 @@ protected virtual async Task RemoveExpiredPersistedGrantsAsync(CancellationToken
///
/// Removes the consumed persisted grants.
///
- ///
protected virtual async Task RemoveConsumedPersistedGrantsAsync(CancellationToken cancellationToken = default)
{
var found = Int32.MaxValue;
@@ -211,7 +208,6 @@ protected virtual async Task RemoveConsumedPersistedGrantsAsync(CancellationToke
///
/// Removes the stale device codes.
///
- ///
protected virtual async Task RemoveDeviceCodesAsync(CancellationToken cancellationToken = default)
{
var found = Int32.MaxValue;
diff --git a/src/EntityFramework/IdentityServerEntityFrameworkBuilderExtensions.cs b/src/EntityFramework/IdentityServerEntityFrameworkBuilderExtensions.cs
index d376750ee..7d1bc64d3 100644
--- a/src/EntityFramework/IdentityServerEntityFrameworkBuilderExtensions.cs
+++ b/src/EntityFramework/IdentityServerEntityFrameworkBuilderExtensions.cs
@@ -27,7 +27,6 @@ public static class IdentityServerEntityFrameworkBuilderExtensions
///
/// The builder.
/// The store options action.
- ///
public static IIdentityServerBuilder AddConfigurationStore(
this IIdentityServerBuilder builder,
Action? storeOptionsAction = null)
@@ -41,7 +40,6 @@ public static IIdentityServerBuilder AddConfigurationStore(
/// The IConfigurationDbContext to use.
/// The builder.
/// The store options action.
- ///
public static IIdentityServerBuilder AddConfigurationStore(
this IIdentityServerBuilder builder,
Action? storeOptionsAction = null)
@@ -61,7 +59,6 @@ public static IIdentityServerBuilder AddConfigurationStore(
/// Configures caching for IClientStore, IResourceStore, and ICorsPolicyService with IdentityServer.
///
/// The builder.
- ///
public static IIdentityServerBuilder AddConfigurationStoreCache(
this IIdentityServerBuilder builder)
{
@@ -81,7 +78,6 @@ public static IIdentityServerBuilder AddConfigurationStoreCache(
///
/// The builder.
/// The store options action.
- ///
public static IIdentityServerBuilder AddOperationalStore(
this IIdentityServerBuilder builder,
Action? storeOptionsAction = null)
@@ -95,7 +91,6 @@ public static IIdentityServerBuilder AddOperationalStore(
/// The IPersistedGrantDbContext to use.
/// The builder.
/// The store options action.
- ///
public static IIdentityServerBuilder AddOperationalStore(
this IIdentityServerBuilder builder,
Action? storeOptionsAction = null)
@@ -119,7 +114,6 @@ public static IIdentityServerBuilder AddOperationalStore(
///
///
///
- ///
public static IIdentityServerBuilder AddOperationalStoreNotification(
this IIdentityServerBuilder builder)
where T : class, IOperationalStoreNotification
diff --git a/src/EntityFramework/Services/CorsPolicyService.cs b/src/EntityFramework/Services/CorsPolicyService.cs
index d9206823b..c057c2ebf 100644
--- a/src/EntityFramework/Services/CorsPolicyService.cs
+++ b/src/EntityFramework/Services/CorsPolicyService.cs
@@ -52,7 +52,6 @@ public CorsPolicyService(IConfigurationDbContext dbContext, ILogger
/// The origin.
- ///
public async Task IsOriginAllowedAsync(string origin)
{
origin = origin.ToLowerInvariant();
diff --git a/src/IdentityServer/Configuration/CryptoHelper.cs b/src/IdentityServer/Configuration/CryptoHelper.cs
index 863feaaf2..fa0244bec 100644
--- a/src/IdentityServer/Configuration/CryptoHelper.cs
+++ b/src/IdentityServer/Configuration/CryptoHelper.cs
@@ -22,7 +22,6 @@ public static class CryptoHelper
///
/// Creates a new RSA security key.
///
- ///
public static RsaSecurityKey CreateRsaSecurityKey(int keySize = 2048)
{
return new RsaSecurityKey(RSA.Create(keySize))
@@ -36,7 +35,6 @@ public static RsaSecurityKey CreateRsaSecurityKey(int keySize = 2048)
///
/// The name of the curve as defined in
/// https://tools.ietf.org/html/rfc7518#section-6.2.1.1.
- ///
public static ECDsaSecurityKey CreateECDsaSecurityKey(string curve = JsonWebKeyECTypes.P256)
{
return new ECDsaSecurityKey(ECDsa.Create(GetCurveFromCrvValue(curve)))
@@ -50,7 +48,6 @@ public static ECDsaSecurityKey CreateECDsaSecurityKey(string curve = JsonWebKeyE
///
/// The parameters.
/// The identifier.
- ///
public static RsaSecurityKey CreateRsaSecurityKey(RSAParameters parameters, string id)
{
var key = new RsaSecurityKey(parameters)
@@ -66,7 +63,6 @@ public static RsaSecurityKey CreateRsaSecurityKey(RSAParameters parameters, stri
///
/// The value to hash.
/// The token signing algorithm
- ///
public static string CreateHashClaimValue(string value, string tokenSigningAlgorithm)
{
var (hashFunction, hashLength) = GetHashFunctionForSigningAlgorithm(tokenSigningAlgorithm);
@@ -85,7 +81,6 @@ public static string CreateHashClaimValue(string value, string tokenSigningAlgor
/// Returns the matching hash function for a token signing algorithm
///
///
- ///
///
public static (Func hashFunction, int hashLength) GetHashFunctionForSigningAlgorithm(string signingAlgorithm)
{
@@ -107,7 +102,6 @@ public static (Func hashFunction, int hashLength) GetHashFunctio
/// Returns the matching hashing algorithm for a token signing algorithm
///
/// The signing algorithm
- ///
[Obsolete("This method is obsolete and will be removed in a future version. Consider using GetHashFunctionForSigningAlgorithm instead for better performance (it does not allocate a HashAlgorithm)")]
public static HashAlgorithm GetHashAlgorithmForSigningAlgorithm(string signingAlgorithm)
{
diff --git a/src/IdentityServer/Configuration/DependencyInjection/BuilderExtensions/Additional.cs b/src/IdentityServer/Configuration/DependencyInjection/BuilderExtensions/Additional.cs
index 086891c8c..6ad30ab74 100644
--- a/src/IdentityServer/Configuration/DependencyInjection/BuilderExtensions/Additional.cs
+++ b/src/IdentityServer/Configuration/DependencyInjection/BuilderExtensions/Additional.cs
@@ -28,7 +28,6 @@ public static class IdentityServerBuilderExtensionsAdditional
///
///
/// The builder.
- ///
public static IIdentityServerBuilder AddExtensionGrantValidator(this IIdentityServerBuilder builder)
where T : class, IExtensionGrantValidator
{
@@ -42,7 +41,6 @@ public static IIdentityServerBuilder AddExtensionGrantValidator(this IIdentit
///
///
/// The builder.
- ///
public static IIdentityServerBuilder AddRedirectUriValidator(this IIdentityServerBuilder builder)
where T : class, IRedirectUriValidator
{
@@ -55,7 +53,6 @@ public static IIdentityServerBuilder AddRedirectUriValidator(this IIdentitySe
/// Adds an "AppAuth" (OAuth 2.0 for Native Apps) compliant redirect URI validator (does strict validation but also allows http://127.0.0.1 with random port)
///
/// The builder.
- ///
public static IIdentityServerBuilder AddAppAuthRedirectUriValidator(this IIdentityServerBuilder builder)
{
return builder.AddRedirectUriValidator();
@@ -66,7 +63,6 @@ public static IIdentityServerBuilder AddAppAuthRedirectUriValidator(this IIdenti
///
///
/// The builder.
- ///
public static IIdentityServerBuilder AddResourceOwnerValidator(this IIdentityServerBuilder builder)
where T : class, IResourceOwnerPasswordValidator
{
@@ -80,7 +76,6 @@ public static IIdentityServerBuilder AddResourceOwnerValidator(this IIdentity
///
///
/// The builder.
- ///
public static IIdentityServerBuilder AddProfileService(this IIdentityServerBuilder builder)
where T : class, IProfileService
{
@@ -94,7 +89,6 @@ public static IIdentityServerBuilder AddProfileService(this IIdentityServerBu
///
///
/// The builder.
- ///
public static IIdentityServerBuilder AddResourceValidator(this IIdentityServerBuilder builder)
where T : class, IResourceValidator
{
@@ -108,7 +102,6 @@ public static IIdentityServerBuilder AddResourceValidator(this IIdentityServe
///
///
/// The builder.
- ///
public static IIdentityServerBuilder AddScopeParser(this IIdentityServerBuilder builder)
where T : class, IScopeParser
{
@@ -122,7 +115,6 @@ public static IIdentityServerBuilder AddScopeParser(this IIdentityServerBuild
///
///
/// The builder.
- ///
public static IIdentityServerBuilder AddClientStore(this IIdentityServerBuilder builder)
where T : class, IClientStore
{
@@ -137,7 +129,6 @@ public static IIdentityServerBuilder AddClientStore(this IIdentityServerBuild
///
///
/// The builder.
- ///
public static IIdentityServerBuilder AddResourceStore(this IIdentityServerBuilder builder)
where T : class, IResourceStore
{
@@ -206,7 +197,6 @@ public static IIdentityServerBuilder AddPushedAuthorizationRequestStore(this
///
/// The type of the concrete CORS policy service that is registered in DI.
/// The builder.
- ///
public static IIdentityServerBuilder AddCorsPolicyService(this IIdentityServerBuilder builder)
where T : class, ICorsPolicyService
{
@@ -219,7 +209,6 @@ public static IIdentityServerBuilder AddCorsPolicyService(this IIdentityServe
///
/// The type of the concrete CORS policy service that is registered in DI.
/// The builder.
- ///
public static IIdentityServerBuilder AddCorsPolicyCache(this IIdentityServerBuilder builder)
where T : class, ICorsPolicyService
{
@@ -233,7 +222,6 @@ public static IIdentityServerBuilder AddCorsPolicyCache(this IIdentityServerB
///
///
/// The builder.
- ///
public static IIdentityServerBuilder AddSecretParser(this IIdentityServerBuilder builder)
where T : class, ISecretParser
{
@@ -247,7 +235,6 @@ public static IIdentityServerBuilder AddSecretParser(this IIdentityServerBuil
///
///
/// The builder.
- ///
public static IIdentityServerBuilder AddSecretValidator(this IIdentityServerBuilder builder)
where T : class, ISecretValidator
{
@@ -261,7 +248,6 @@ public static IIdentityServerBuilder AddSecretValidator(this IIdentityServerB
///
/// The type of the concrete client store class that is registered in DI.
/// The builder.
- ///
public static IIdentityServerBuilder AddClientStoreCache(this IIdentityServerBuilder builder)
where T : IClientStore
{
@@ -277,7 +263,6 @@ public static IIdentityServerBuilder AddClientStoreCache(this IIdentityServer
///
/// The type of the concrete scope store class that is registered in DI.
/// The builder.
- ///
public static IIdentityServerBuilder AddResourceStoreCache(this IIdentityServerBuilder builder)
where T : IResourceStore
{
@@ -290,7 +275,6 @@ public static IIdentityServerBuilder AddResourceStoreCache(this IIdentityServ
/// Adds the identity provider store cache.
///
/// The builder.
- ///
public static IIdentityServerBuilder AddIdentityProviderStoreCache(this IIdentityServerBuilder builder)
where T : IIdentityProviderStore
{
@@ -308,7 +292,6 @@ public static IIdentityServerBuilder AddIdentityProviderStoreCache(this IIden
///
///
/// The builder.
- ///
public static IIdentityServerBuilder AddAuthorizeInteractionResponseGenerator(this IIdentityServerBuilder builder)
where T : class, IAuthorizeInteractionResponseGenerator
{
@@ -322,7 +305,6 @@ public static IIdentityServerBuilder AddAuthorizeInteractionResponseGenerator
///
///
/// The builder.
- ///
public static IIdentityServerBuilder AddCustomAuthorizeRequestValidator(this IIdentityServerBuilder builder)
where T : class, ICustomAuthorizeRequestValidator
{
@@ -336,7 +318,6 @@ public static IIdentityServerBuilder AddCustomAuthorizeRequestValidator(this
///
///
/// The builder.
- ///
public static IIdentityServerBuilder AddCustomTokenRequestValidator(this IIdentityServerBuilder builder)
where T : class, ICustomTokenRequestValidator
{
@@ -350,7 +331,6 @@ public static IIdentityServerBuilder AddCustomTokenRequestValidator(this IIde
///
///
/// The builder.
- ///
public static IIdentityServerBuilder AddCustomBackchannelAuthenticationRequestValidator(this IIdentityServerBuilder builder)
where T : class, ICustomBackchannelAuthenticationValidator
{
@@ -363,7 +343,6 @@ public static IIdentityServerBuilder AddCustomBackchannelAuthenticationRequestVa
/// Adds support for client authentication using JWT bearer assertions.
///
/// The builder.
- ///
public static IIdentityServerBuilder AddJwtBearerClientAuthentication(this IIdentityServerBuilder builder)
{
builder.AddSecretParser();
@@ -377,7 +356,6 @@ public static IIdentityServerBuilder AddJwtBearerClientAuthentication(this IIden
///
///
/// The builder.
- ///
public static IIdentityServerBuilder AddClientConfigurationValidator(this IIdentityServerBuilder builder)
where T : class, IClientConfigurationValidator
{
@@ -392,7 +370,6 @@ public static IIdentityServerBuilder AddClientConfigurationValidator(this IId
///
///
/// The builder.
- ///
public static IIdentityServerBuilder AddIdentityProviderConfigurationValidator(this IIdentityServerBuilder builder)
where T : class, IIdentityProviderConfigurationValidator
{
@@ -405,7 +382,6 @@ public static IIdentityServerBuilder AddIdentityProviderConfigurationValidator
/// The builder.
- ///
public static IIdentityServerBuilder AddMutualTlsSecretValidators(this IIdentityServerBuilder builder)
{
builder.AddSecretParser();
@@ -420,7 +396,6 @@ public static IIdentityServerBuilder AddMutualTlsSecretValidators(this IIdentity
///
///
/// The builder.
- ///
public static IIdentityServerBuilder AddBackChannelLogoutService(this IIdentityServerBuilder builder)
where T : class, IBackChannelLogoutService
{
@@ -434,7 +409,6 @@ public static IIdentityServerBuilder AddBackChannelLogoutService(this IIdenti
///
/// The builder.
/// The configuration callback.
- ///
public static IHttpClientBuilder AddBackChannelLogoutHttpClient(this IIdentityServerBuilder builder, Action? configureClient = null)
{
const string name = IdentityServerConstants.HttpClients.BackChannelLogoutHttpClient;
@@ -469,7 +443,6 @@ public static IHttpClientBuilder AddBackChannelLogoutHttpClient(this IIdentitySe
///
/// The builder.
/// The configuration callback.
- ///
public static IHttpClientBuilder AddJwtRequestUriHttpClient(this IIdentityServerBuilder builder, Action? configureClient = null)
{
const string name = IdentityServerConstants.HttpClients.JwtRequestUriHttpClient;
@@ -505,7 +478,6 @@ public static IHttpClientBuilder AddJwtRequestUriHttpClient(this IIdentityServer
///
///
/// The builder.
- ///
[Obsolete("This feature is deprecated. Consider using Pushed Authorization Requests instead.")]
public static IIdentityServerBuilder AddAuthorizationParametersMessageStore(this IIdentityServerBuilder builder)
where T : class, IAuthorizationParametersMessageStore
@@ -520,7 +492,6 @@ public static IIdentityServerBuilder AddAuthorizationParametersMessageStore(t
///
///
/// The builder.
- ///
public static IIdentityServerBuilder AddUserSession(this IIdentityServerBuilder builder)
where T : class, IUserSession
{
@@ -537,7 +508,6 @@ public static IIdentityServerBuilder AddUserSession(this IIdentityServerBuild
///
///
/// The builder.
- ///
public static IIdentityServerBuilder AddIdentityProviderStore(this IIdentityServerBuilder builder)
where T : class, IIdentityProviderStore
{
@@ -554,7 +524,6 @@ public static IIdentityServerBuilder AddIdentityProviderStore(this IIdentityS
///
///
/// The builder.
- ///
public static IIdentityServerBuilder AddBackchannelAuthenticationUserValidator(this IIdentityServerBuilder builder)
where T : class, IBackchannelAuthenticationUserValidator
{
@@ -568,7 +537,6 @@ public static IIdentityServerBuilder AddBackchannelAuthenticationUserValidator
///
/// The builder.
- ///
public static IIdentityServerBuilder AddBackchannelAuthenticationUserNotificationService(this IIdentityServerBuilder builder)
where T : class, IBackchannelAuthenticationUserNotificationService
{
@@ -581,7 +549,6 @@ public static IIdentityServerBuilder AddBackchannelAuthenticationUserNotificatio
/// Adds the legacy clock based on the pre-.NET8 ISystemClock.
///
/// The builder.
- ///
public static IIdentityServerBuilder AddLegacyClock(this IIdentityServerBuilder builder)
{
builder.Services.AddTransient();
diff --git a/src/IdentityServer/Configuration/DependencyInjection/BuilderExtensions/Core.cs b/src/IdentityServer/Configuration/DependencyInjection/BuilderExtensions/Core.cs
index e554d86be..81a194982 100644
--- a/src/IdentityServer/Configuration/DependencyInjection/BuilderExtensions/Core.cs
+++ b/src/IdentityServer/Configuration/DependencyInjection/BuilderExtensions/Core.cs
@@ -46,7 +46,6 @@ public static class IdentityServerBuilderExtensionsCore
/// Adds the required platform services.
///
/// The builder.
- ///
public static IIdentityServerBuilder AddRequiredPlatformServices(this IIdentityServerBuilder builder)
{
builder.Services.TryAddSingleton();
@@ -64,7 +63,6 @@ public static IIdentityServerBuilder AddRequiredPlatformServices(this IIdentityS
/// Adds the default infrastructure for cookie authentication in IdentityServer.
///
/// The builder.
- ///
public static IIdentityServerBuilder AddCookieAuthentication(this IIdentityServerBuilder builder)
{
return builder
@@ -76,7 +74,6 @@ public static IIdentityServerBuilder AddCookieAuthentication(this IIdentityServe
/// Adds the default cookie handlers and corresponding configuration
///
/// The builder.
- ///
public static IIdentityServerBuilder AddDefaultCookieHandlers(this IIdentityServerBuilder builder)
{
builder.Services.AddAuthentication(IdentityServerConstants.DefaultCookieAuthenticationScheme)
@@ -91,7 +88,6 @@ public static IIdentityServerBuilder AddDefaultCookieHandlers(this IIdentityServ
/// Adds the necessary decorators for cookie authentication required by IdentityServer
///
/// The builder.
- ///
public static IIdentityServerBuilder AddCookieAuthenticationExtensions(this IIdentityServerBuilder builder)
{
builder.Services.AddSingleton, PostConfigureInternalCookieOptions>();
@@ -105,7 +101,6 @@ public static IIdentityServerBuilder AddCookieAuthenticationExtensions(this IIde
/// Adds the default endpoints.
///
/// The builder.
- ///
public static IIdentityServerBuilder AddDefaultEndpoints(this IIdentityServerBuilder builder)
{
builder.Services.AddTransient();
@@ -213,7 +208,6 @@ public static IIdentityServerBuilder AddCoreServices(this IIdentityServerBuilder
/// Adds the pluggable services.
///
/// The builder.
- ///
public static IIdentityServerBuilder AddPluggableServices(this IIdentityServerBuilder builder)
{
builder.Services.TryAddTransient();
@@ -273,7 +267,6 @@ public static IIdentityServerBuilder AddPluggableServices(this IIdentityServerBu
/// Adds key management services.
///
/// The builder.
- ///
public static IIdentityServerBuilder AddKeyManagement(this IIdentityServerBuilder builder)
{
builder.Services.TryAddTransient();
@@ -295,7 +288,6 @@ public static IIdentityServerBuilder AddKeyManagement(this IIdentityServerBuilde
/// Adds the core services for dynamic external providers.
///
/// The builder.
- ///
public static IIdentityServerBuilder AddDynamicProvidersCore(this IIdentityServerBuilder builder)
{
builder.Services.AddTransient(svcs => svcs.GetRequiredService().DynamicProviders);
@@ -313,7 +305,6 @@ public static IIdentityServerBuilder AddDynamicProvidersCore(this IIdentityServe
/// Adds the validators.
///
/// The builder.
- ///
public static IIdentityServerBuilder AddValidators(this IIdentityServerBuilder builder)
{
// core
@@ -350,7 +341,6 @@ public static IIdentityServerBuilder AddValidators(this IIdentityServerBuilder b
/// Adds the response generators.
///
/// The builder.
- ///
public static IIdentityServerBuilder AddResponseGenerators(this IIdentityServerBuilder builder)
{
builder.Services.TryAddTransient();
@@ -371,7 +361,6 @@ public static IIdentityServerBuilder AddResponseGenerators(this IIdentityServerB
/// Adds the default secret parsers.
///
/// The builder.
- ///
public static IIdentityServerBuilder AddDefaultSecretParsers(this IIdentityServerBuilder builder)
{
builder.Services.AddTransient();
@@ -384,7 +373,6 @@ public static IIdentityServerBuilder AddDefaultSecretParsers(this IIdentityServe
/// Adds the default secret validators.
///
/// The builder.
- ///
public static IIdentityServerBuilder AddDefaultSecretValidators(this IIdentityServerBuilder builder)
{
builder.Services.AddTransient();
diff --git a/src/IdentityServer/Configuration/DependencyInjection/BuilderExtensions/Crypto.cs b/src/IdentityServer/Configuration/DependencyInjection/BuilderExtensions/Crypto.cs
index 7499d12df..6d5d673b5 100644
--- a/src/IdentityServer/Configuration/DependencyInjection/BuilderExtensions/Crypto.cs
+++ b/src/IdentityServer/Configuration/DependencyInjection/BuilderExtensions/Crypto.cs
@@ -27,7 +27,6 @@ public static class IdentityServerBuilderExtensionsCrypto
///
/// The builder.
/// The credential.
- ///
public static IIdentityServerBuilder AddSigningCredential(this IIdentityServerBuilder builder, SigningCredentials credential)
{
if (!(credential.Key is AsymmetricSecurityKey
@@ -71,7 +70,6 @@ public static IIdentityServerBuilder AddSigningCredential(this IIdentityServerBu
/// The builder.
/// The certificate.
/// The signing algorithm (defaults to RS256)
- ///
///
/// X509 certificate does not have a private key.
public static IIdentityServerBuilder AddSigningCredential(this IIdentityServerBuilder builder, X509Certificate2 certificate, string signingAlgorithm = SecurityAlgorithms.RsaSha256)
@@ -119,7 +117,6 @@ public static IIdentityServerBuilder AddSigningCredential(
/// The builder.
/// The key.
/// The signing algorithm
- ///
public static IIdentityServerBuilder AddSigningCredential(this IIdentityServerBuilder builder, SecurityKey key, string signingAlgorithm)
{
var credential = new SigningCredentials(key, signingAlgorithm);
@@ -132,7 +129,6 @@ public static IIdentityServerBuilder AddSigningCredential(this IIdentityServerBu
/// The builder.
/// The RSA key.
/// The signing algorithm
- ///
public static IIdentityServerBuilder AddSigningCredential(this IIdentityServerBuilder builder, RsaSecurityKey key, IdentityServerConstants.RsaSigningAlgorithm signingAlgorithm)
{
var credential = new SigningCredentials(key, CryptoHelper.GetRsaSigningAlgorithmValue(signingAlgorithm));
@@ -145,7 +141,6 @@ public static IIdentityServerBuilder AddSigningCredential(this IIdentityServerBu
/// The builder.
/// The ECDsa key.
/// The signing algorithm
- ///
public static IIdentityServerBuilder AddSigningCredential(this IIdentityServerBuilder builder, ECDsaSecurityKey key, IdentityServerConstants.ECDsaSigningAlgorithm signingAlgorithm)
{
var credential = new SigningCredentials(key, CryptoHelper.GetECDsaSigningAlgorithmValue(signingAlgorithm));
@@ -159,7 +154,6 @@ public static IIdentityServerBuilder AddSigningCredential(this IIdentityServerBu
/// Specifies if the temporary key should be persisted to disk.
/// The filename.
/// The signing algorithm (defaults to RS256)
- ///
public static IIdentityServerBuilder AddDeveloperSigningCredential(
this IIdentityServerBuilder builder,
bool persistKey = true,
@@ -198,7 +192,6 @@ public static IIdentityServerBuilder AddDeveloperSigningCredential(
///
/// The builder.
/// The keys.
- ///
public static IIdentityServerBuilder AddValidationKey(this IIdentityServerBuilder builder, params SecurityKeyInfo[] keys)
{
builder.Services.AddSingleton(new InMemoryValidationKeysStore(keys));
@@ -212,7 +205,6 @@ public static IIdentityServerBuilder AddValidationKey(this IIdentityServerBuilde
/// The builder.
/// The RSA key
/// The RSA-based signing algorithm
- ///
public static IIdentityServerBuilder AddValidationKey(
this IIdentityServerBuilder builder,
RsaSecurityKey key,
@@ -233,7 +225,6 @@ public static IIdentityServerBuilder AddValidationKey(
/// The builder.
/// The ECDSA key
/// The ECDSA-based signing algorithm
- ///
public static IIdentityServerBuilder AddValidationKey(
this IIdentityServerBuilder builder,
ECDsaSecurityKey key,
@@ -254,7 +245,6 @@ public static IIdentityServerBuilder AddValidationKey(
/// The builder.
/// The certificate.
/// The signing algorithm
- ///
///
public static IIdentityServerBuilder AddValidationKey(
this IIdentityServerBuilder builder,
diff --git a/src/IdentityServer/Configuration/DependencyInjection/BuilderExtensions/InMemory.cs b/src/IdentityServer/Configuration/DependencyInjection/BuilderExtensions/InMemory.cs
index 11436a207..b4a6799e5 100644
--- a/src/IdentityServer/Configuration/DependencyInjection/BuilderExtensions/InMemory.cs
+++ b/src/IdentityServer/Configuration/DependencyInjection/BuilderExtensions/InMemory.cs
@@ -24,7 +24,6 @@ public static class IdentityServerBuilderExtensionsInMemory
/// Adds the in memory caching.
///
/// The builder.
- ///
public static IIdentityServerBuilder AddInMemoryCaching(this IIdentityServerBuilder builder)
{
builder.Services.TryAddSingleton();
@@ -38,7 +37,6 @@ public static IIdentityServerBuilder AddInMemoryCaching(this IIdentityServerBuil
///
/// The builder.
/// The identity resources.
- ///
public static IIdentityServerBuilder AddInMemoryIdentityResources(this IIdentityServerBuilder builder, IEnumerable identityResources)
{
builder.Services.AddSingleton(identityResources);
@@ -52,7 +50,6 @@ public static IIdentityServerBuilder AddInMemoryIdentityResources(this IIdentity
///
/// The builder.
/// The configuration section containing the configuration data.
- ///
public static IIdentityServerBuilder AddInMemoryIdentityResources(this IIdentityServerBuilder builder, IConfigurationSection section)
{
var resources = new List();
@@ -66,7 +63,6 @@ public static IIdentityServerBuilder AddInMemoryIdentityResources(this IIdentity
///
/// The builder.
/// The API resources.
- ///
public static IIdentityServerBuilder AddInMemoryApiResources(this IIdentityServerBuilder builder, IEnumerable apiResources)
{
builder.Services.AddSingleton(apiResources);
@@ -80,7 +76,6 @@ public static IIdentityServerBuilder AddInMemoryApiResources(this IIdentityServe
///
/// The builder.
/// The configuration section containing the configuration data.
- ///
public static IIdentityServerBuilder AddInMemoryApiResources(this IIdentityServerBuilder builder, IConfigurationSection section)
{
var resources = new List();
@@ -94,7 +89,6 @@ public static IIdentityServerBuilder AddInMemoryApiResources(this IIdentityServe
///
/// The builder.
/// The API scopes.
- ///
public static IIdentityServerBuilder AddInMemoryApiScopes(this IIdentityServerBuilder builder, IEnumerable apiScopes)
{
builder.Services.AddSingleton(apiScopes);
@@ -108,7 +102,6 @@ public static IIdentityServerBuilder AddInMemoryApiScopes(this IIdentityServerBu
///
/// The builder.
/// The configuration section containing the configuration data.
- ///
public static IIdentityServerBuilder AddInMemoryApiScopes(this IIdentityServerBuilder builder, IConfigurationSection section)
{
var resources = new List();
@@ -134,7 +127,6 @@ public static IIdentityServerBuilder AddInMemoryClients(this IIdentityServerBuil
///
/// The builder.
/// The clients.
- ///
public static IIdentityServerBuilder AddInMemoryClients(this IIdentityServerBuilder builder, IEnumerable clients)
{
builder.Services.AddSingleton(clients);
@@ -159,7 +151,6 @@ public static IIdentityServerBuilder AddInMemoryClients(this IIdentityServerBuil
///
/// The builder.
/// The configuration section containing the configuration data.
- ///
public static IIdentityServerBuilder AddInMemoryClients(this IIdentityServerBuilder builder, IConfigurationSection section)
{
var clients = new List();
@@ -173,7 +164,6 @@ public static IIdentityServerBuilder AddInMemoryClients(this IIdentityServerBuil
/// Adds the in memory stores.
///
/// The builder.
- ///
public static IIdentityServerBuilder AddInMemoryPersistedGrants(this IIdentityServerBuilder builder)
{
builder.Services.TryAddSingleton();
@@ -186,7 +176,6 @@ public static IIdentityServerBuilder AddInMemoryPersistedGrants(this IIdentitySe
/// Adds the in memory pushed authorization request store.
///
/// The builder.
- ///
public static IIdentityServerBuilder AddInMemoryPushedAuthorizationRequests(this IIdentityServerBuilder builder)
{
builder.Services.TryAddSingleton();
diff --git a/src/IdentityServer/Configuration/DependencyInjection/BuilderExtensions/SessionManagement.cs b/src/IdentityServer/Configuration/DependencyInjection/BuilderExtensions/SessionManagement.cs
index 30e81114b..39bbed30d 100644
--- a/src/IdentityServer/Configuration/DependencyInjection/BuilderExtensions/SessionManagement.cs
+++ b/src/IdentityServer/Configuration/DependencyInjection/BuilderExtensions/SessionManagement.cs
@@ -22,7 +22,6 @@ public static class SessionManagementServiceCollectionExtensions
///
/// Adds a server-side session store using the provided store type
///
- ///
public static IIdentityServerBuilder AddServerSideSessions(this IIdentityServerBuilder builder)
where T : class, IServerSideSessionStore
{
@@ -35,7 +34,6 @@ public static IIdentityServerBuilder AddServerSideSessions(this IIdentityServ
///
/// Adds a server-side session store using the in-memory store
///
- ///
public static IIdentityServerBuilder AddServerSideSessions(this IIdentityServerBuilder builder)
{
builder.Services.AddSingleton();
@@ -73,7 +71,6 @@ public static IIdentityServerBuilder AddServerSideSessions(this IIdentityServerB
/// Adds a server-side session store using the supplied session store implementation
///
///
- ///
public static IIdentityServerBuilder AddServerSideSessionStore(this IIdentityServerBuilder builder)
where T : class, IServerSideSessionStore
{
diff --git a/src/IdentityServer/Configuration/DependencyInjection/IdentityServerServiceCollectionExtensions.cs b/src/IdentityServer/Configuration/DependencyInjection/IdentityServerServiceCollectionExtensions.cs
index bb77dafac..8efb7bfe3 100644
--- a/src/IdentityServer/Configuration/DependencyInjection/IdentityServerServiceCollectionExtensions.cs
+++ b/src/IdentityServer/Configuration/DependencyInjection/IdentityServerServiceCollectionExtensions.cs
@@ -21,7 +21,6 @@ public static class IdentityServerServiceCollectionExtensions
/// Creates a builder.
///
/// The services.
- ///
public static IIdentityServerBuilder AddIdentityServerBuilder(this IServiceCollection services)
{
return new IdentityServerBuilder(services);
@@ -31,7 +30,6 @@ public static IIdentityServerBuilder AddIdentityServerBuilder(this IServiceColle
/// Adds IdentityServer.
///
/// The services.
- ///
public static IIdentityServerBuilder AddIdentityServer(this IServiceCollection services)
{
var builder = services.AddIdentityServerBuilder();
@@ -62,7 +60,6 @@ public static IIdentityServerBuilder AddIdentityServer(this IServiceCollection s
///
/// The services.
/// The setup action.
- ///
public static IIdentityServerBuilder AddIdentityServer(this IServiceCollection services, Action setupAction)
{
services.Configure(setupAction);
@@ -74,7 +71,6 @@ public static IIdentityServerBuilder AddIdentityServer(this IServiceCollection s
///
/// The services.
/// The configuration.
- ///
public static IIdentityServerBuilder AddIdentityServer(this IServiceCollection services, IConfiguration configuration)
{
services.Configure(configuration);
diff --git a/src/IdentityServer/Configuration/DependencyInjection/Options/DynamicProviderOptions.cs b/src/IdentityServer/Configuration/DependencyInjection/Options/DynamicProviderOptions.cs
index abe7e0720..506f02fbf 100644
--- a/src/IdentityServer/Configuration/DependencyInjection/Options/DynamicProviderOptions.cs
+++ b/src/IdentityServer/Configuration/DependencyInjection/Options/DynamicProviderOptions.cs
@@ -73,7 +73,6 @@ public void AddProviderType(string type)
/// Finds the DynamicProviderType registration by protocol type.
///
///
- ///
public DynamicProviderType? FindProviderType(string type)
{
return _providers.ContainsKey(type) ? _providers[type] : null;
diff --git a/src/IdentityServer/Configuration/IdentityServerApplicationBuilderExtensions.cs b/src/IdentityServer/Configuration/IdentityServerApplicationBuilderExtensions.cs
index 8ada54d8c..e3140a522 100644
--- a/src/IdentityServer/Configuration/IdentityServerApplicationBuilderExtensions.cs
+++ b/src/IdentityServer/Configuration/IdentityServerApplicationBuilderExtensions.cs
@@ -33,7 +33,6 @@ public static class IdentityServerApplicationBuilderExtensions
///
/// The application.
/// The options.
- ///
public static IApplicationBuilder UseIdentityServer(this IApplicationBuilder app, IdentityServerMiddlewareOptions? options = null)
{
app.Validate();
diff --git a/src/IdentityServer/Endpoints/DeviceAuthorizationEndpoint.cs b/src/IdentityServer/Endpoints/DeviceAuthorizationEndpoint.cs
index f2df82545..b6a218d77 100644
--- a/src/IdentityServer/Endpoints/DeviceAuthorizationEndpoint.cs
+++ b/src/IdentityServer/Endpoints/DeviceAuthorizationEndpoint.cs
@@ -51,7 +51,6 @@ public DeviceAuthorizationEndpoint(
/// Processes the request.
///
/// The HTTP context.
- ///
///
public async Task ProcessAsync(HttpContext context)
{
diff --git a/src/IdentityServer/Endpoints/IntrospectionEndpoint.cs b/src/IdentityServer/Endpoints/IntrospectionEndpoint.cs
index f4d7124bc..c99e699c4 100644
--- a/src/IdentityServer/Endpoints/IntrospectionEndpoint.cs
+++ b/src/IdentityServer/Endpoints/IntrospectionEndpoint.cs
@@ -60,7 +60,6 @@ public IntrospectionEndpoint(
/// Processes the request.
///
/// The HTTP context.
- ///
public async Task ProcessAsync(HttpContext context)
{
using var activity = Tracing.BasicActivitySource.StartActivity(IdentityServerConstants.EndpointNames.Introspection + "Endpoint");
diff --git a/src/IdentityServer/Endpoints/TokenEndpoint.cs b/src/IdentityServer/Endpoints/TokenEndpoint.cs
index e55fdac6b..429f2dd62 100644
--- a/src/IdentityServer/Endpoints/TokenEndpoint.cs
+++ b/src/IdentityServer/Endpoints/TokenEndpoint.cs
@@ -62,7 +62,6 @@ public TokenEndpoint(
/// Processes the request.
///
/// The HTTP context.
- ///
public async Task ProcessAsync(HttpContext context)
{
using var activity = Tracing.BasicActivitySource.StartActivity(IdentityServerConstants.EndpointNames.Token + "Endpoint");
diff --git a/src/IdentityServer/Endpoints/TokenRevocationEndpoint.cs b/src/IdentityServer/Endpoints/TokenRevocationEndpoint.cs
index 01b255d5f..db4846287 100644
--- a/src/IdentityServer/Endpoints/TokenRevocationEndpoint.cs
+++ b/src/IdentityServer/Endpoints/TokenRevocationEndpoint.cs
@@ -56,7 +56,6 @@ public TokenRevocationEndpoint(ILogger logger,
/// Processes the request.
///
/// The HTTP context.
- ///
public async Task ProcessAsync(HttpContext context)
{
using var activity = Tracing.BasicActivitySource.StartActivity(IdentityServerConstants.EndpointNames.Revocation + "Endpoint");
diff --git a/src/IdentityServer/Endpoints/UserInfoEndpoint.cs b/src/IdentityServer/Endpoints/UserInfoEndpoint.cs
index 81cf110f5..85004b817 100644
--- a/src/IdentityServer/Endpoints/UserInfoEndpoint.cs
+++ b/src/IdentityServer/Endpoints/UserInfoEndpoint.cs
@@ -48,7 +48,6 @@ public UserInfoEndpoint(
/// Processes the request.
///
/// The HTTP context.
- ///
public async Task ProcessAsync(HttpContext context)
{
using var activity = Tracing.BasicActivitySource.StartActivity(IdentityServerConstants.EndpointNames.UserInfo + "Endpoint");
diff --git a/src/IdentityServer/Events/Infrastructure/Event.cs b/src/IdentityServer/Events/Infrastructure/Event.cs
index 5a44448f4..7b0488459 100644
--- a/src/IdentityServer/Events/Infrastructure/Event.cs
+++ b/src/IdentityServer/Events/Infrastructure/Event.cs
@@ -38,7 +38,6 @@ protected Event(string category, string name, EventTypes type, int id, string? m
///
/// Allows implementing custom initialization logic.
///
- ///
protected internal virtual Task PrepareAsync()
{
return Task.CompletedTask;
@@ -129,7 +128,6 @@ protected internal virtual Task PrepareAsync()
/// Obfuscates a token.
///
/// The token.
- ///
protected static string Obfuscate(string value)
{
var last4Chars = "****";
diff --git a/src/IdentityServer/Extensions/AuthenticationPropertiesExtensions.cs b/src/IdentityServer/Extensions/AuthenticationPropertiesExtensions.cs
index 510012508..83f1e5e16 100644
--- a/src/IdentityServer/Extensions/AuthenticationPropertiesExtensions.cs
+++ b/src/IdentityServer/Extensions/AuthenticationPropertiesExtensions.cs
@@ -23,7 +23,6 @@ public static class AuthenticationPropertiesExtensions
/// Gets the user's session identifier.
///
///
- ///
public static string GetSessionId(this AuthenticationProperties properties)
{
if (properties?.Items.ContainsKey(SessionIdKey) == true)
@@ -39,7 +38,6 @@ public static string GetSessionId(this AuthenticationProperties properties)
///
///
/// The session id
- ///
public static void SetSessionId(this AuthenticationProperties properties, string sid)
{
properties.Items[SessionIdKey] = sid;
@@ -49,7 +47,6 @@ public static void SetSessionId(this AuthenticationProperties properties, string
/// Gets the list of client ids the user has signed into during their session.
///
///
- ///
public static IEnumerable GetClientList(this AuthenticationProperties properties)
{
if (properties?.Items.ContainsKey(ClientListKey) == true)
diff --git a/src/IdentityServer/Extensions/ClientExtensions.cs b/src/IdentityServer/Extensions/ClientExtensions.cs
index ab9b3b476..d1b1581f1 100644
--- a/src/IdentityServer/Extensions/ClientExtensions.cs
+++ b/src/IdentityServer/Extensions/ClientExtensions.cs
@@ -31,7 +31,6 @@ public static bool IsImplicitOnly(this Client client)
/// Constructs a list of SecurityKey from a Secret collection
///
/// The secrets
- ///
public static Task> GetKeysAsync(this IEnumerable secrets)
{
var secretList = secrets.ToList().AsReadOnly();
diff --git a/src/IdentityServer/Extensions/HttpContextAuthenticationExtensions.cs b/src/IdentityServer/Extensions/HttpContextAuthenticationExtensions.cs
index 0533c4f74..e7cdade80 100644
--- a/src/IdentityServer/Extensions/HttpContextAuthenticationExtensions.cs
+++ b/src/IdentityServer/Extensions/HttpContextAuthenticationExtensions.cs
@@ -21,7 +21,6 @@ public static class AuthenticationManagerExtensions
///
/// The manager.
/// The IdentityServer user.
- ///
public static async Task SignInAsync(this HttpContext context, IdentityServerUser user)
{
await context.SignInAsync(await context.GetCookieAuthenticationSchemeAsync(), user.CreatePrincipal());
@@ -33,7 +32,6 @@ public static async Task SignInAsync(this HttpContext context, IdentityServerUse
/// The manager.
/// The IdentityServer user.
/// The authentication properties.
- ///
public static async Task SignInAsync(this HttpContext context, IdentityServerUser user, AuthenticationProperties properties)
{
await context.SignInAsync(await context.GetCookieAuthenticationSchemeAsync(), user.CreatePrincipal(), properties);
diff --git a/src/IdentityServer/Extensions/IClientStoreExtensions.cs b/src/IdentityServer/Extensions/IClientStoreExtensions.cs
index 7630f5934..5cac6d875 100644
--- a/src/IdentityServer/Extensions/IClientStoreExtensions.cs
+++ b/src/IdentityServer/Extensions/IClientStoreExtensions.cs
@@ -17,7 +17,6 @@ public static class IClientStoreExtensions
///
/// The store.
/// The client identifier.
- ///
public static async Task FindEnabledClientByIdAsync(this IClientStore store, string clientId)
{
var client = await store.FindClientByIdAsync(clientId);
diff --git a/src/IdentityServer/Extensions/IResourceStoreExtensions.cs b/src/IdentityServer/Extensions/IResourceStoreExtensions.cs
index 7fadc6690..5e3a69efb 100644
--- a/src/IdentityServer/Extensions/IResourceStoreExtensions.cs
+++ b/src/IdentityServer/Extensions/IResourceStoreExtensions.cs
@@ -20,7 +20,6 @@ public static class IResourceStoreExtensions
///
/// The store.
/// The scope names.
- ///
public static async Task FindResourcesByScopeAsync(this IResourceStore store, IEnumerable scopeNames)
{
var identity = await store.FindIdentityResourcesByScopeNameAsync(scopeNames);
@@ -92,7 +91,6 @@ private static IEnumerable GetDuplicates(IEnumerable names)
///
/// The store.
/// The scope names.
- ///
public static async Task FindEnabledResourcesByScopeAsync(this IResourceStore store, IEnumerable scopeNames)
{
return (await store.FindResourcesByScopeAsync(scopeNames)).FilterEnabled();
@@ -102,7 +100,6 @@ public static async Task FindEnabledResourcesByScopeAsync(this IResou
/// Gets all enabled resources.
///
/// The store.
- ///
public static async Task GetAllEnabledResourcesAsync(this IResourceStore store)
{
var resources = await store.GetAllResourcesAsync();
@@ -116,7 +113,6 @@ public static async Task GetAllEnabledResourcesAsync(this IResourceSt
///
/// The store.
/// The scope names.
- ///
public static async Task> FindEnabledIdentityResourcesByScopeAsync(this IResourceStore store, IEnumerable scopeNames)
{
return (await store.FindIdentityResourcesByScopeNameAsync(scopeNames)).Where(x => x.Enabled).ToArray();
diff --git a/src/IdentityServer/Extensions/PrincipalExtensions.cs b/src/IdentityServer/Extensions/PrincipalExtensions.cs
index 634a9ee5d..43116102f 100644
--- a/src/IdentityServer/Extensions/PrincipalExtensions.cs
+++ b/src/IdentityServer/Extensions/PrincipalExtensions.cs
@@ -20,7 +20,6 @@ public static class PrincipalExtensions
/// Gets the authentication time.
///
/// The principal.
- ///
[DebuggerStepThrough]
public static DateTime GetAuthenticationTime(this IPrincipal principal)
{
@@ -31,7 +30,6 @@ public static DateTime GetAuthenticationTime(this IPrincipal principal)
/// Gets the authentication epoch time.
///
/// The principal.
- ///
[DebuggerStepThrough]
public static long GetAuthenticationTimeEpoch(this IPrincipal principal)
{
@@ -42,7 +40,6 @@ public static long GetAuthenticationTimeEpoch(this IPrincipal principal)
/// Gets the authentication epoch time.
///
/// The identity.
- ///
[DebuggerStepThrough]
public static long GetAuthenticationTimeEpoch(this IIdentity identity)
{
@@ -58,7 +55,6 @@ public static long GetAuthenticationTimeEpoch(this IIdentity identity)
/// Gets the subject identifier.
///
/// The principal.
- ///
[DebuggerStepThrough]
public static string GetSubjectId(this IPrincipal principal)
{
@@ -69,7 +65,6 @@ public static string GetSubjectId(this IPrincipal principal)
/// Gets the subject identifier.
///
/// The identity.
- ///
/// sub claim is missing
[DebuggerStepThrough]
public static string GetSubjectId(this IIdentity identity)
@@ -85,7 +80,6 @@ public static string GetSubjectId(this IIdentity identity)
/// Gets the name.
///
/// The principal.
- ///
[DebuggerStepThrough]
public static string GetDisplayName(this ClaimsPrincipal principal)
{
@@ -102,7 +96,6 @@ public static string GetDisplayName(this ClaimsPrincipal principal)
/// Gets the authentication method.
///
/// The principal.
- ///
[DebuggerStepThrough]
public static string GetAuthenticationMethod(this IPrincipal principal)
{
@@ -113,7 +106,6 @@ public static string GetAuthenticationMethod(this IPrincipal principal)
/// Gets the authentication method claims.
///
/// The principal.
- ///
[DebuggerStepThrough]
public static IEnumerable GetAuthenticationMethods(this IPrincipal principal)
{
@@ -124,7 +116,6 @@ public static IEnumerable GetAuthenticationMethods(this IPrincipal princi
/// Gets the authentication method.
///
/// The identity.
- ///
/// amr claim is missing
[DebuggerStepThrough]
public static string GetAuthenticationMethod(this IIdentity identity)
@@ -140,7 +131,6 @@ public static string GetAuthenticationMethod(this IIdentity identity)
/// Gets the authentication method claims.
///
/// The identity.
- ///
[DebuggerStepThrough]
public static IEnumerable GetAuthenticationMethods(this IIdentity identity)
{
@@ -152,7 +142,6 @@ public static IEnumerable GetAuthenticationMethods(this IIdentity identit
/// Gets the identity provider.
///
/// The principal.
- ///
[DebuggerStepThrough]
public static string GetIdentityProvider(this IPrincipal principal)
{
@@ -163,7 +152,6 @@ public static string GetIdentityProvider(this IPrincipal principal)
/// Gets the identity provider.
///
/// The identity.
- ///
/// idp claim is missing
[DebuggerStepThrough]
public static string GetIdentityProvider(this IIdentity identity)
@@ -179,7 +167,6 @@ public static string GetIdentityProvider(this IIdentity identity)
/// Gets the tenant.
///
/// The principal.
- ///
[DebuggerStepThrough]
public static string GetTenant(this ClaimsPrincipal principal)
{
diff --git a/src/IdentityServer/Extensions/ProfileDataRequestContextExtensions.cs b/src/IdentityServer/Extensions/ProfileDataRequestContextExtensions.cs
index 33a817f2a..f08c948b9 100644
--- a/src/IdentityServer/Extensions/ProfileDataRequestContextExtensions.cs
+++ b/src/IdentityServer/Extensions/ProfileDataRequestContextExtensions.cs
@@ -21,7 +21,6 @@ public static class ProfileDataRequestContextExtensions
///
/// The context.
/// The claims.
- ///
public static List FilterClaims(this ProfileDataRequestContext context, IEnumerable claims)
{
if (context == null) throw new ArgumentNullException(nameof(context));
diff --git a/src/IdentityServer/Extensions/ResourceExtensions.cs b/src/IdentityServer/Extensions/ResourceExtensions.cs
index e3c3c4c73..2e0a9176d 100644
--- a/src/IdentityServer/Extensions/ResourceExtensions.cs
+++ b/src/IdentityServer/Extensions/ResourceExtensions.cs
@@ -20,7 +20,6 @@ public static class ResourceExtensions
/// Returns the collection of scope values that are required.
///
///
- ///
public static IEnumerable GetRequiredScopeValues(this ResourceValidationResult resourceValidationResult)
{
var names = resourceValidationResult.Resources.IdentityResources.Where(x => x.Required).Select(x => x.Name).ToList();
@@ -34,7 +33,6 @@ public static IEnumerable GetRequiredScopeValues(this ResourceValidation
/// Converts to scope names.
///
/// The resources.
- ///
public static IEnumerable ToScopeNames(this Resources resources)
{
var names = resources.IdentityResources.Select(x => x.Name).ToList();
@@ -52,7 +50,6 @@ public static IEnumerable ToScopeNames(this Resources resources)
///
/// The resources.
/// The name.
- ///
public static IdentityResource FindIdentityResourcesByScope(this Resources resources, string name)
{
var q = from id in resources.IdentityResources
@@ -66,7 +63,6 @@ public static IdentityResource FindIdentityResourcesByScope(this Resources resou
///
/// The resources.
/// The name.
- ///
public static IEnumerable FindApiResourcesByScope(this Resources resources, string name)
{
var q = from api in resources.ApiResources
@@ -80,7 +76,6 @@ public static IEnumerable FindApiResourcesByScope(this Resources re
///
/// The resources.
/// The name.
- ///
public static ApiScope FindApiScope(this Resources resources, string name)
{
var q = from scope in resources.ApiScopes
diff --git a/src/IdentityServer/Extensions/TokenExtensions.cs b/src/IdentityServer/Extensions/TokenExtensions.cs
index 4f100fb63..7a8bf7974 100644
--- a/src/IdentityServer/Extensions/TokenExtensions.cs
+++ b/src/IdentityServer/Extensions/TokenExtensions.cs
@@ -27,7 +27,6 @@ public static class TokenExtensions
///
///
///
- ///
public static Dictionary CreateJwtPayloadDictionary(this Token token,
IdentityServerOptions options, IClock clock, ILogger logger)
{
diff --git a/src/IdentityServer/Extensions/X509CertificateExtensions.cs b/src/IdentityServer/Extensions/X509CertificateExtensions.cs
index de4255849..c3d3989f9 100644
--- a/src/IdentityServer/Extensions/X509CertificateExtensions.cs
+++ b/src/IdentityServer/Extensions/X509CertificateExtensions.cs
@@ -19,7 +19,6 @@ public static class X509CertificateExtensions
/// Create the value of a thumbprint-based cnf claim
///
///
- ///
public static string CreateThumbprintCnf(this X509Certificate2 certificate)
{
var hash = certificate.GetSha256Thumbprint();
@@ -35,7 +34,6 @@ public static string CreateThumbprintCnf(this X509Certificate2 certificate)
///
/// Returns the SHA256 thumbprint of the certificate as a base64url encoded string
///
- ///
public static string GetSha256Thumbprint(this X509Certificate2 certificate)
{
return Base64Url.Encode(certificate.GetCertHash(HashAlgorithmName.SHA256));
diff --git a/src/IdentityServer/Hosting/DynamicProviders/DynamicSchemes/DynamicAuthenticationSchemeCache.cs b/src/IdentityServer/Hosting/DynamicProviders/DynamicSchemes/DynamicAuthenticationSchemeCache.cs
index 7623d9961..a7e15abe4 100644
--- a/src/IdentityServer/Hosting/DynamicProviders/DynamicSchemes/DynamicAuthenticationSchemeCache.cs
+++ b/src/IdentityServer/Hosting/DynamicProviders/DynamicSchemes/DynamicAuthenticationSchemeCache.cs
@@ -43,7 +43,6 @@ public DynamicAuthenticationScheme Get(string name)
///
///
///
- ///
public T GetIdentityProvider(string name)
where T : IdentityProvider
{
diff --git a/src/IdentityServer/Hosting/DynamicProviders/DynamicSchemes/IdentityServerBuilderDynamicSchemesExtensions.cs b/src/IdentityServer/Hosting/DynamicProviders/DynamicSchemes/IdentityServerBuilderDynamicSchemesExtensions.cs
index 24af2d5d5..00b5c256e 100644
--- a/src/IdentityServer/Hosting/DynamicProviders/DynamicSchemes/IdentityServerBuilderDynamicSchemesExtensions.cs
+++ b/src/IdentityServer/Hosting/DynamicProviders/DynamicSchemes/IdentityServerBuilderDynamicSchemesExtensions.cs
@@ -19,7 +19,6 @@ public static class IdentityServerBuilderDynamicSchemesExtensions
///
/// The builder.
///
- ///
public static IIdentityServerBuilder AddInMemoryIdentityProviders(
this IIdentityServerBuilder builder, IEnumerable providers)
{
diff --git a/src/IdentityServer/Hosting/DynamicProviders/Oidc/IdentityServerBuilderOidcExtensions.cs b/src/IdentityServer/Hosting/DynamicProviders/Oidc/IdentityServerBuilderOidcExtensions.cs
index 07473954d..66c086521 100644
--- a/src/IdentityServer/Hosting/DynamicProviders/Oidc/IdentityServerBuilderOidcExtensions.cs
+++ b/src/IdentityServer/Hosting/DynamicProviders/Oidc/IdentityServerBuilderOidcExtensions.cs
@@ -23,7 +23,6 @@ public static class IdentityServerBuilderOidcExtensions
/// Adds the OIDC dynamic provider feature.
///
///
- ///
public static IIdentityServerBuilder AddOidcDynamicProvider(this IIdentityServerBuilder builder)
{
builder.Services.Configure(options =>
@@ -49,7 +48,6 @@ public static IIdentityServerBuilder AddOidcDynamicProvider(this IIdentityServer
///
/// The builder.
///
- ///
public static IIdentityServerBuilder AddInMemoryOidcProviders(this IIdentityServerBuilder builder, IEnumerable providers)
{
return builder.AddInMemoryIdentityProviders(providers);
diff --git a/src/IdentityServer/Hosting/IEndpointHandler.cs b/src/IdentityServer/Hosting/IEndpointHandler.cs
index 7a6fa02ae..183e8afda 100644
--- a/src/IdentityServer/Hosting/IEndpointHandler.cs
+++ b/src/IdentityServer/Hosting/IEndpointHandler.cs
@@ -18,6 +18,5 @@ public interface IEndpointHandler
/// Processes the request.
///
/// The HTTP context.
- ///
Task ProcessAsync(HttpContext context);
}
diff --git a/src/IdentityServer/Hosting/IdentityServerMiddleware.cs b/src/IdentityServer/Hosting/IdentityServerMiddleware.cs
index 120f2b9a4..d3ba3d589 100644
--- a/src/IdentityServer/Hosting/IdentityServerMiddleware.cs
+++ b/src/IdentityServer/Hosting/IdentityServerMiddleware.cs
@@ -46,7 +46,6 @@ public IdentityServerMiddleware(RequestDelegate next, ILoggerThe event service.
/// The issuer name service
///
- ///
public async Task Invoke(
HttpContext context,
IdentityServerOptions options,
diff --git a/src/IdentityServer/Hosting/LocalApiAuthentication/LocalApiAuthenticationExtensions.cs b/src/IdentityServer/Hosting/LocalApiAuthentication/LocalApiAuthenticationExtensions.cs
index 7b93744d3..734e8a16b 100644
--- a/src/IdentityServer/Hosting/LocalApiAuthentication/LocalApiAuthenticationExtensions.cs
+++ b/src/IdentityServer/Hosting/LocalApiAuthentication/LocalApiAuthenticationExtensions.cs
@@ -23,7 +23,6 @@ public static class LocalApiAuthenticationExtensions
///
/// The service collection
/// Function to transform the resulting principal
- ///
public static IServiceCollection AddLocalApiAuthentication(this IServiceCollection services, Func>? transformationFunc = null)
{
services.AddAuthentication()
@@ -59,7 +58,6 @@ public static IServiceCollection AddLocalApiAuthentication(this IServiceCollecti
/// Registers the authentication handler for local APIs.
///
/// The builder.
- ///
public static AuthenticationBuilder AddLocalApi(this AuthenticationBuilder builder)
=> builder.AddLocalApi(IdentityServerConstants.LocalApi.AuthenticationScheme, _ => { });
@@ -68,7 +66,6 @@ public static AuthenticationBuilder AddLocalApi(this AuthenticationBuilder build
///
/// The builder.
/// The configure options.
- ///
public static AuthenticationBuilder AddLocalApi(this AuthenticationBuilder builder, Action configureOptions)
=> builder.AddLocalApi(IdentityServerConstants.LocalApi.AuthenticationScheme, configureOptions);
@@ -78,7 +75,6 @@ public static AuthenticationBuilder AddLocalApi(this AuthenticationBuilder build
/// The builder.
/// The authentication scheme.
/// The configure options.
- ///
public static AuthenticationBuilder AddLocalApi(this AuthenticationBuilder builder, string authenticationScheme, Action configureOptions)
=> builder.AddLocalApi(authenticationScheme, displayName: null, configureOptions: configureOptions);
@@ -89,7 +85,6 @@ public static AuthenticationBuilder AddLocalApi(this AuthenticationBuilder build
/// The authentication scheme.
/// The display name of this scheme.
/// The configure options.
- ///
public static AuthenticationBuilder AddLocalApi(this AuthenticationBuilder builder, string authenticationScheme, string? displayName, Action configureOptions)
{
return builder.AddScheme(authenticationScheme, displayName, configureOptions);
diff --git a/src/IdentityServer/IdentityServerUser.cs b/src/IdentityServer/IdentityServerUser.cs
index 8fb9acdb3..33d15f006 100644
--- a/src/IdentityServer/IdentityServerUser.cs
+++ b/src/IdentityServer/IdentityServerUser.cs
@@ -67,7 +67,6 @@ public IdentityServerUser(string subjectId)
///
/// Creates an IdentityServer claims principal
///
- ///
///
public ClaimsPrincipal CreatePrincipal()
{
diff --git a/src/IdentityServer/Infrastructure/ConcurrencyLock/IConcurrencyLock.cs b/src/IdentityServer/Infrastructure/ConcurrencyLock/IConcurrencyLock.cs
index 7f31b3ee6..f113d9180 100644
--- a/src/IdentityServer/Infrastructure/ConcurrencyLock/IConcurrencyLock.cs
+++ b/src/IdentityServer/Infrastructure/ConcurrencyLock/IConcurrencyLock.cs
@@ -14,12 +14,10 @@ public interface IConcurrencyLock
///
/// Locks. Returns false if lock was not obtained within in the timeout.
///
- ///
Task LockAsync(int millisecondsTimeout);
///
/// Unlocks
///
- ///
void Unlock();
}
\ No newline at end of file
diff --git a/src/IdentityServer/Infrastructure/DistributedCacheStateDataFormatter.cs b/src/IdentityServer/Infrastructure/DistributedCacheStateDataFormatter.cs
index e144830e8..92db74012 100644
--- a/src/IdentityServer/Infrastructure/DistributedCacheStateDataFormatter.cs
+++ b/src/IdentityServer/Infrastructure/DistributedCacheStateDataFormatter.cs
@@ -38,7 +38,6 @@ public DistributedCacheStateDataFormatter(IServiceProvider provider, string name
/// Protects the specified data.
///
/// The data.
- ///
public string Protect(AuthenticationProperties data)
{
return Protect(data, null);
@@ -49,7 +48,6 @@ public string Protect(AuthenticationProperties data)
///
/// The data.
/// The purpose.
- ///
public string Protect(AuthenticationProperties data, string purpose)
{
var key = Guid.NewGuid().ToString();
@@ -77,7 +75,6 @@ public string Protect(AuthenticationProperties data, string purpose)
/// Unprotects the specified protected text.
///
/// The protected text.
- ///
public AuthenticationProperties Unprotect(string protectedText)
{
return Unprotect(protectedText, null);
@@ -88,7 +85,6 @@ public AuthenticationProperties Unprotect(string protectedText)
///
/// The protected text.
/// The purpose.
- ///
public AuthenticationProperties Unprotect(string protectedText, string purpose)
{
if (String.IsNullOrWhiteSpace(protectedText))
diff --git a/src/IdentityServer/Logging/LogSerializer.cs b/src/IdentityServer/Logging/LogSerializer.cs
index 434ec6c18..5657c8d87 100644
--- a/src/IdentityServer/Logging/LogSerializer.cs
+++ b/src/IdentityServer/Logging/LogSerializer.cs
@@ -27,7 +27,6 @@ static LogSerializer()
/// Serializes the specified object.
///
/// The object.
- ///
public static string Serialize(object logObject)
{
return JsonSerializer.Serialize(logObject, Options);
diff --git a/src/IdentityServer/Models/DeviceFlowInteractionResult.cs b/src/IdentityServer/Models/DeviceFlowInteractionResult.cs
index 946569777..4f028c726 100644
--- a/src/IdentityServer/Models/DeviceFlowInteractionResult.cs
+++ b/src/IdentityServer/Models/DeviceFlowInteractionResult.cs
@@ -39,7 +39,6 @@ public class DeviceFlowInteractionResult
/// Create failure result
///
/// The error description.
- ///
public static DeviceFlowInteractionResult Failure(string? errorDescription = null)
{
return new DeviceFlowInteractionResult
diff --git a/src/IdentityServer/ResponseHandling/Default/AuthorizeInteractionResponseGenerator.cs b/src/IdentityServer/ResponseHandling/Default/AuthorizeInteractionResponseGenerator.cs
index de5596884..875a36694 100644
--- a/src/IdentityServer/ResponseHandling/Default/AuthorizeInteractionResponseGenerator.cs
+++ b/src/IdentityServer/ResponseHandling/Default/AuthorizeInteractionResponseGenerator.cs
@@ -73,7 +73,6 @@ public AuthorizeInteractionResponseGenerator(
///
/// The request.
/// The consent.
- ///
public virtual async Task ProcessInteractionAsync(ValidatedAuthorizeRequest request, ConsentResponse consent = null)
{
using var activity = Tracing.BasicActivitySource.StartActivity("AuthorizeInteractionResponseGenerator.ProcessInteraction");
@@ -137,7 +136,6 @@ public virtual async Task ProcessInteractionAsync(Validated
/// Processes the create account logic.
///
/// The request.
- ///
protected internal virtual Task ProcessCreateAccountAsync(ValidatedAuthorizeRequest request)
{
InteractionResponse result;
@@ -164,7 +162,6 @@ protected internal virtual Task ProcessCreateAccountAsync(V
/// Processes the login logic.
///
/// The request.
- ///
protected internal virtual async Task ProcessLoginAsync(ValidatedAuthorizeRequest request)
{
using var activity = Tracing.BasicActivitySource.StartActivity("AuthorizeInteractionResponseGenerator.ProcessLogin");
@@ -308,7 +305,6 @@ protected internal virtual async Task ProcessLoginAsync(Val
///
/// The request.
/// The consent.
- ///
///
/// Invalid PromptMode
protected internal virtual async Task ProcessConsentAsync(ValidatedAuthorizeRequest request, ConsentResponse consent = null)
diff --git a/src/IdentityServer/ResponseHandling/Default/AuthorizeResponseGenerator.cs b/src/IdentityServer/ResponseHandling/Default/AuthorizeResponseGenerator.cs
index 29f899518..0b2fc07ea 100644
--- a/src/IdentityServer/ResponseHandling/Default/AuthorizeResponseGenerator.cs
+++ b/src/IdentityServer/ResponseHandling/Default/AuthorizeResponseGenerator.cs
@@ -89,7 +89,6 @@ public AuthorizeResponseGenerator(
/// Creates the response
///
/// The request.
- ///
/// invalid grant type: " + request.GrantType
public virtual async Task CreateResponseAsync(ValidatedAuthorizeRequest request)
{
@@ -116,7 +115,6 @@ public virtual async Task CreateResponseAsync(ValidatedAuthor
/// Creates the response for a hybrid flow request
///
///
- ///
protected virtual async Task CreateHybridFlowResponseAsync(ValidatedAuthorizeRequest request)
{
Logger.LogDebug("Creating Hybrid Flow response.");
@@ -134,7 +132,6 @@ protected virtual async Task CreateHybridFlowResponseAsync(Va
/// Creates the response for a code flow request
///
///
- ///
protected virtual async Task CreateCodeFlowResponseAsync(ValidatedAuthorizeRequest request)
{
Logger.LogDebug("Creating Authorization Code Flow response.");
@@ -158,7 +155,6 @@ protected virtual async Task CreateCodeFlowResponseAsync(Vali
///
///
///
- ///
protected virtual async Task CreateImplicitFlowResponseAsync(ValidatedAuthorizeRequest request, string authorizationCode = null)
{
Logger.LogDebug("Creating Implicit Flow response.");
@@ -234,7 +230,6 @@ protected virtual async Task CreateImplicitFlowResponseAsync(
/// Creates an authorization code
///
///
- ///
protected virtual async Task CreateCodeAsync(ValidatedAuthorizeRequest request)
{
string stateHash = null;
diff --git a/src/IdentityServer/ResponseHandling/Default/DeviceAuthorizationResponseGenerator.cs b/src/IdentityServer/ResponseHandling/Default/DeviceAuthorizationResponseGenerator.cs
index c8b103773..9fc0f9b86 100644
--- a/src/IdentityServer/ResponseHandling/Default/DeviceAuthorizationResponseGenerator.cs
+++ b/src/IdentityServer/ResponseHandling/Default/DeviceAuthorizationResponseGenerator.cs
@@ -66,7 +66,6 @@ public DeviceAuthorizationResponseGenerator(IdentityServerOptions options, IUser
///
/// The validation result.
/// The base URL.
- ///
/// validationResult or Client
/// Value cannot be null or whitespace. - baseUrl
public virtual async Task ProcessAsync(DeviceAuthorizationRequestValidationResult validationResult, string baseUrl)
diff --git a/src/IdentityServer/ResponseHandling/Default/IntrospectionResponseGenerator.cs b/src/IdentityServer/ResponseHandling/Default/IntrospectionResponseGenerator.cs
index 644fc13b7..30a3c5b64 100644
--- a/src/IdentityServer/ResponseHandling/Default/IntrospectionResponseGenerator.cs
+++ b/src/IdentityServer/ResponseHandling/Default/IntrospectionResponseGenerator.cs
@@ -48,7 +48,6 @@ public IntrospectionResponseGenerator(IEventService events, ILogger
/// The validation result.
- ///
public virtual async Task> ProcessAsync(IntrospectionRequestValidationResult validationResult)
{
using var activity = Tracing.BasicActivitySource.StartActivity("IntrospectionResponseGenerator.Process");
@@ -108,7 +107,6 @@ public virtual async Task> ProcessAsync(Introspection
/// Checks if the API resource is allowed to introspect the scopes.
///
/// The validation result.
- ///
protected virtual async Task AreExpectedScopesPresentAsync(IntrospectionRequestValidationResult validationResult)
{
var apiScopes = validationResult.Api.Scopes;
diff --git a/src/IdentityServer/ResponseHandling/Default/TokenResponseGenerator.cs b/src/IdentityServer/ResponseHandling/Default/TokenResponseGenerator.cs
index 6e6b97d0b..23947a466 100644
--- a/src/IdentityServer/ResponseHandling/Default/TokenResponseGenerator.cs
+++ b/src/IdentityServer/ResponseHandling/Default/TokenResponseGenerator.cs
@@ -82,7 +82,6 @@ public TokenResponseGenerator(IClock clock, ITokenService tokenService, IRefresh
/// Processes the response.
///
/// The request.
- ///
public virtual async Task ProcessAsync(TokenRequestValidationResult request)
{
using var activity = Tracing.BasicActivitySource.StartActivity("TokenResponseGenerator.Process");
@@ -112,7 +111,6 @@ public virtual async Task ProcessAsync(TokenRequestValidationResu
/// Creates the response for a client credentials request.
///
/// The request.
- ///
protected virtual Task ProcessClientCredentialsRequestAsync(TokenRequestValidationResult request)
{
Logger.LogTrace("Creating response for client credentials request");
@@ -124,7 +122,6 @@ protected virtual Task ProcessClientCredentialsRequestAsync(Token
/// Creates the response for a password request.
///
/// The request.
- ///
protected virtual Task ProcessPasswordRequestAsync(TokenRequestValidationResult request)
{
Logger.LogTrace("Creating response for password request");
@@ -136,7 +133,6 @@ protected virtual Task ProcessPasswordRequestAsync(TokenRequestVa
/// Creates the response for an authorization code request.
///
/// The request.
- ///
/// Client does not exist anymore.
protected virtual async Task ProcessAuthorizationCodeRequestAsync(TokenRequestValidationResult request)
{
@@ -180,7 +176,6 @@ protected virtual async Task ProcessAuthorizationCodeRequestAsync
/// Creates the response for a refresh token request.
///
/// The request.
- ///
protected virtual async Task ProcessRefreshTokenRequestAsync(TokenRequestValidationResult request)
{
Logger.LogTrace("Creating response for refresh token request");
@@ -239,7 +234,6 @@ protected virtual async Task ProcessRefreshTokenRequestAsync(Toke
/// Processes the response for device code grant request.
///
/// The request.
- ///
protected virtual async Task ProcessDeviceCodeRequestAsync(TokenRequestValidationResult request)
{
Logger.LogTrace("Creating response for device code request");
@@ -280,7 +274,6 @@ protected virtual async Task ProcessDeviceCodeRequestAsync(TokenR
/// Processes the response for CIBA request.
///
/// The request.
- ///
protected virtual async Task ProcessCibaRequestAsync(TokenRequestValidationResult request)
{
Logger.LogTrace("Creating response for CIBA request");
@@ -318,7 +311,6 @@ protected virtual async Task ProcessCibaRequestAsync(TokenRequest
/// Creates the response for an extension grant request.
///
/// The request.
- ///
protected virtual Task ProcessExtensionGrantRequestAsync(TokenRequestValidationResult request)
{
Logger.LogTrace("Creating response for extension grant request");
@@ -355,7 +347,6 @@ protected virtual async Task ProcessTokenRequestAsync(TokenReques
/// Creates the access/refresh token.
///
/// The request.
- ///
/// Client does not exist anymore.
protected virtual async Task<(string accessToken, string refreshToken)> CreateAccessTokenAsync(ValidatedTokenRequest request)
{
@@ -462,7 +453,6 @@ protected virtual async Task ProcessTokenRequestAsync(TokenReques
///
/// The request.
/// The new access token.
- ///
protected virtual async Task CreateIdTokenFromRefreshTokenRequestAsync(ValidatedTokenRequest request, string newAccessToken)
{
if (request.RefreshToken.AuthorizedScopes.Contains(OidcConstants.StandardScopes.OpenId))
diff --git a/src/IdentityServer/ResponseHandling/Default/TokenRevocationResponseGenerator.cs b/src/IdentityServer/ResponseHandling/Default/TokenRevocationResponseGenerator.cs
index 6492ccdcb..85a95e45a 100644
--- a/src/IdentityServer/ResponseHandling/Default/TokenRevocationResponseGenerator.cs
+++ b/src/IdentityServer/ResponseHandling/Default/TokenRevocationResponseGenerator.cs
@@ -56,7 +56,6 @@ public TokenRevocationResponseGenerator(IReferenceTokenStore referenceTokenStore
/// Creates the revocation endpoint response and processes the revocation request.
///
/// The userinfo request validation result.
- ///
public virtual async Task ProcessAsync(TokenRevocationRequestValidationResult validationResult)
{
using var activity = Tracing.BasicActivitySource.StartActivity("TokenRevocationResponseGenerator.Process");
diff --git a/src/IdentityServer/ResponseHandling/Default/UserInfoResponseGenerator.cs b/src/IdentityServer/ResponseHandling/Default/UserInfoResponseGenerator.cs
index fa8667656..63abdfea6 100644
--- a/src/IdentityServer/ResponseHandling/Default/UserInfoResponseGenerator.cs
+++ b/src/IdentityServer/ResponseHandling/Default/UserInfoResponseGenerator.cs
@@ -55,7 +55,6 @@ public UserInfoResponseGenerator(IProfileService profile, IResourceStore resourc
/// Creates the response.
///
/// The userinfo request validation result.
- ///
/// Profile service returned incorrect subject value
public virtual async Task> ProcessAsync(UserInfoRequestValidationResult validationResult)
{
@@ -113,7 +112,6 @@ public virtual async Task> ProcessAsync(UserInfoReque
/// Gets the identity resources from the scopes.
///
///
- ///
protected internal virtual async Task GetRequestedResourcesAsync(IEnumerable scopes)
{
if (scopes == null || !scopes.Any())
@@ -137,7 +135,6 @@ protected internal virtual async Task GetRequestedReso
/// Gets the requested claim types.
///
///
- ///
protected internal virtual Task> GetRequestedClaimTypesAsync(ResourceValidationResult resourceValidationResult)
{
IEnumerable result = null;
diff --git a/src/IdentityServer/ResponseHandling/IAuthorizeInteractionResponseGenerator.cs b/src/IdentityServer/ResponseHandling/IAuthorizeInteractionResponseGenerator.cs
index b775929bb..78383a802 100644
--- a/src/IdentityServer/ResponseHandling/IAuthorizeInteractionResponseGenerator.cs
+++ b/src/IdentityServer/ResponseHandling/IAuthorizeInteractionResponseGenerator.cs
@@ -20,6 +20,5 @@ public interface IAuthorizeInteractionResponseGenerator
///
/// The request.
/// The consent.
- ///
Task ProcessInteractionAsync(ValidatedAuthorizeRequest request, ConsentResponse? consent = null);
}
diff --git a/src/IdentityServer/ResponseHandling/IAuthorizeResponseGenerator.cs b/src/IdentityServer/ResponseHandling/IAuthorizeResponseGenerator.cs
index 868b2306a..94cd5f307 100644
--- a/src/IdentityServer/ResponseHandling/IAuthorizeResponseGenerator.cs
+++ b/src/IdentityServer/ResponseHandling/IAuthorizeResponseGenerator.cs
@@ -16,6 +16,5 @@ public interface IAuthorizeResponseGenerator
/// Creates the response
///
/// The request.
- ///
Task CreateResponseAsync(ValidatedAuthorizeRequest request);
}
\ No newline at end of file
diff --git a/src/IdentityServer/ResponseHandling/IBackchannelAuthenticationResponseGenerator.cs b/src/IdentityServer/ResponseHandling/IBackchannelAuthenticationResponseGenerator.cs
index 1e804094f..11fe3c192 100644
--- a/src/IdentityServer/ResponseHandling/IBackchannelAuthenticationResponseGenerator.cs
+++ b/src/IdentityServer/ResponseHandling/IBackchannelAuthenticationResponseGenerator.cs
@@ -16,6 +16,5 @@ public interface IBackchannelAuthenticationResponseGenerator
/// Processes the response.
///
/// The validation result.
- ///
Task ProcessAsync(BackchannelAuthenticationRequestValidationResult validationResult);
}
\ No newline at end of file
diff --git a/src/IdentityServer/ResponseHandling/IDeviceAuthorizationResponseGenerator.cs b/src/IdentityServer/ResponseHandling/IDeviceAuthorizationResponseGenerator.cs
index 94f451221..dc7b8ae01 100644
--- a/src/IdentityServer/ResponseHandling/IDeviceAuthorizationResponseGenerator.cs
+++ b/src/IdentityServer/ResponseHandling/IDeviceAuthorizationResponseGenerator.cs
@@ -17,6 +17,5 @@ public interface IDeviceAuthorizationResponseGenerator
///
/// The validation result.
/// The base URL.
- ///
Task ProcessAsync(DeviceAuthorizationRequestValidationResult validationResult, string baseUrl);
}
\ No newline at end of file
diff --git a/src/IdentityServer/ResponseHandling/IIntrospectionResponseGenerator.cs b/src/IdentityServer/ResponseHandling/IIntrospectionResponseGenerator.cs
index a2539480b..94877498b 100644
--- a/src/IdentityServer/ResponseHandling/IIntrospectionResponseGenerator.cs
+++ b/src/IdentityServer/ResponseHandling/IIntrospectionResponseGenerator.cs
@@ -17,6 +17,5 @@ public interface IIntrospectionResponseGenerator
/// Processes the response.
///
/// The validation result.
- ///
Task> ProcessAsync(IntrospectionRequestValidationResult validationResult);
}
\ No newline at end of file
diff --git a/src/IdentityServer/ResponseHandling/ITokenResponseGenerator.cs b/src/IdentityServer/ResponseHandling/ITokenResponseGenerator.cs
index 202b69f67..bc128e9fd 100644
--- a/src/IdentityServer/ResponseHandling/ITokenResponseGenerator.cs
+++ b/src/IdentityServer/ResponseHandling/ITokenResponseGenerator.cs
@@ -18,6 +18,5 @@ public interface ITokenResponseGenerator
/// Processes the response.
///
/// The validation result.
- ///
Task ProcessAsync(TokenRequestValidationResult validationResult);
}
diff --git a/src/IdentityServer/ResponseHandling/ITokenRevocationResponseGenerator.cs b/src/IdentityServer/ResponseHandling/ITokenRevocationResponseGenerator.cs
index bd5857423..d5c2a47da 100644
--- a/src/IdentityServer/ResponseHandling/ITokenRevocationResponseGenerator.cs
+++ b/src/IdentityServer/ResponseHandling/ITokenRevocationResponseGenerator.cs
@@ -16,6 +16,5 @@ public interface ITokenRevocationResponseGenerator
/// Creates the revocation endpoint response and processes the revocation request.
///
/// The userinfo request validation result.
- ///
Task ProcessAsync(TokenRevocationRequestValidationResult validationResult);
}
\ No newline at end of file
diff --git a/src/IdentityServer/ResponseHandling/IUserInfoResponseGenerator.cs b/src/IdentityServer/ResponseHandling/IUserInfoResponseGenerator.cs
index 9d5b2b4e7..d816e4ec5 100644
--- a/src/IdentityServer/ResponseHandling/IUserInfoResponseGenerator.cs
+++ b/src/IdentityServer/ResponseHandling/IUserInfoResponseGenerator.cs
@@ -17,6 +17,5 @@ public interface IUserInfoResponseGenerator
/// Creates the response.
///
/// The userinfo request validation result.
- ///
Task> ProcessAsync(UserInfoRequestValidationResult validationResult);
}
\ No newline at end of file
diff --git a/src/IdentityServer/Services/Default/BackChannelLogoutHttpClient.cs b/src/IdentityServer/Services/Default/BackChannelLogoutHttpClient.cs
index 9241298dd..9e10a376a 100644
--- a/src/IdentityServer/Services/Default/BackChannelLogoutHttpClient.cs
+++ b/src/IdentityServer/Services/Default/BackChannelLogoutHttpClient.cs
@@ -38,7 +38,6 @@ public DefaultBackChannelLogoutHttpClient(HttpClient client, ILoggerFactory logg
///
///
///
- ///
public async Task PostAsync(string url, Dictionary payload)
{
using var activity = Tracing.ServiceActivitySource.StartActivity("DefaultBackChannelLogoutHttpClient.Post");
diff --git a/src/IdentityServer/Services/Default/DefaultBackChannelLogoutService.cs b/src/IdentityServer/Services/Default/DefaultBackChannelLogoutService.cs
index e27f1a7bb..918504cc7 100644
--- a/src/IdentityServer/Services/Default/DefaultBackChannelLogoutService.cs
+++ b/src/IdentityServer/Services/Default/DefaultBackChannelLogoutService.cs
@@ -94,7 +94,6 @@ public virtual async Task SendLogoutNotificationsAsync(LogoutNotificationContext
/// Sends the logout notifications for the collection of clients.
///
///
- ///
protected virtual Task SendLogoutNotificationsAsync(IEnumerable requests)
{
requests = requests ?? Enumerable.Empty();
@@ -117,7 +116,6 @@ protected virtual async Task SendLogoutNotificationAsync(BackChannelLogoutReques
///
///
///
- ///
protected virtual Task PostLogoutJwt(BackChannelLogoutRequest client, Dictionary data)
{
return HttpClient.PostAsync(client.LogoutUri, data);
@@ -127,7 +125,6 @@ protected virtual Task PostLogoutJwt(BackChannelLogoutRequest client, Dictionary
/// Creates the form-url-encoded payload (as a dictionary) to send to the client.
///
///
- ///
protected async Task> CreateFormPostPayloadAsync(BackChannelLogoutRequest request)
{
var token = await CreateTokenAsync(request);
diff --git a/src/IdentityServer/Services/Default/DefaultCache.cs b/src/IdentityServer/Services/Default/DefaultCache.cs
index 22eb68f54..dc5ead466 100644
--- a/src/IdentityServer/Services/Default/DefaultCache.cs
+++ b/src/IdentityServer/Services/Default/DefaultCache.cs
@@ -60,7 +60,6 @@ public DefaultCache(IdentityServerOptions identityServerOptions, IMemoryCache ca
/// Used to create the key for the cache based on the data type being cached.
///
///
- ///
protected string GetKey(string key)
{
return typeof(T).FullName + KeySeparator + key;
diff --git a/src/IdentityServer/Services/Default/DefaultClaimsService.cs b/src/IdentityServer/Services/Default/DefaultClaimsService.cs
index f36a359cc..88513f998 100644
--- a/src/IdentityServer/Services/Default/DefaultClaimsService.cs
+++ b/src/IdentityServer/Services/Default/DefaultClaimsService.cs
@@ -258,7 +258,6 @@ protected virtual IEnumerable GetOptionalClaims(ClaimsPrincipal subject)
/// Filters out protocol claims like amr, nonce etc..
///
/// The claims.
- ///
protected virtual IEnumerable FilterProtocolClaims(IEnumerable claims)
{
var claimsToFilter = claims.Where(x => Constants.Filters.ClaimsServiceFilterClaimTypes.Contains(x.Type));
diff --git a/src/IdentityServer/Services/Default/DefaultConsentService.cs b/src/IdentityServer/Services/Default/DefaultConsentService.cs
index 4dced8d14..c734f4623 100644
--- a/src/IdentityServer/Services/Default/DefaultConsentService.cs
+++ b/src/IdentityServer/Services/Default/DefaultConsentService.cs
@@ -147,7 +147,6 @@ public virtual async Task RequiresConsentAsync(ClaimsPrincipal subject, Cl
/// The client.
/// The subject.
/// The parsed scopes.
- ///
///
/// client
/// or
diff --git a/src/IdentityServer/Services/Default/DefaultCorsPolicyService.cs b/src/IdentityServer/Services/Default/DefaultCorsPolicyService.cs
index ba94d8b2b..bb2eb881b 100644
--- a/src/IdentityServer/Services/Default/DefaultCorsPolicyService.cs
+++ b/src/IdentityServer/Services/Default/DefaultCorsPolicyService.cs
@@ -49,7 +49,6 @@ public DefaultCorsPolicyService(ILogger logger)
/// Determines whether the origin allowed.
///
/// The origin.
- ///
public virtual Task IsOriginAllowedAsync(string origin)
{
using var activity = Tracing.ServiceActivitySource.StartActivity("DefaultCorsPolicyService.IsOriginAllowed");
diff --git a/src/IdentityServer/Services/Default/DefaultDeviceFlowCodeService.cs b/src/IdentityServer/Services/Default/DefaultDeviceFlowCodeService.cs
index d9556eba4..684c96ad7 100644
--- a/src/IdentityServer/Services/Default/DefaultDeviceFlowCodeService.cs
+++ b/src/IdentityServer/Services/Default/DefaultDeviceFlowCodeService.cs
@@ -34,7 +34,6 @@ public DefaultDeviceFlowCodeService(IDeviceFlowStore store,
///
/// The user code.
/// The data.
- ///
public async Task StoreDeviceAuthorizationAsync(string userCode, DeviceCode data)
{
using var activity = Tracing.StoreActivitySource.StartActivity("DefaultDeviceFlowCodeService.SendLogoutNotifStoreDeviceAuthorization");
@@ -50,7 +49,6 @@ public async Task