diff --git a/src/Umbraco.Infrastructure/Security/UmbracoUserManager.cs b/src/Umbraco.Infrastructure/Security/UmbracoUserManager.cs index 2ea0bc52b2..6318218669 100644 --- a/src/Umbraco.Infrastructure/Security/UmbracoUserManager.cs +++ b/src/Umbraco.Infrastructure/Security/UmbracoUserManager.cs @@ -44,19 +44,30 @@ namespace Umbraco.Core.Security PasswordConfiguration = passwordConfiguration.Value ?? throw new ArgumentNullException(nameof(passwordConfiguration)); } - // We don't support an IUserClaimStore and don't need to (at least currently) - public override bool SupportsUserClaim => false; + /// + public override bool SupportsUserClaim => false; // We don't support an IUserClaimStore and don't need to (at least currently) - // It would be nice to support this but we don't need to currently and that would require IQueryable support for our user service/repository - public override bool SupportsQueryableUsers => false; + /// + public override bool SupportsQueryableUsers => false; // It would be nice to support this but we don't need to currently and that would require IQueryable support for our user service/repository /// /// Developers will need to override this to support custom 2 factor auth /// + /// public override bool SupportsUserTwoFactor => false; - // We haven't needed to support this yet, though might be necessary for 2FA - public override bool SupportsUserPhoneNumber => false; + /// + public override bool SupportsUserPhoneNumber => false; // We haven't needed to support this yet, though might be necessary for 2FA + + /// + /// Gets the password configuration + /// + public IPasswordConfiguration PasswordConfiguration { get; } + + /// + /// Gets the IP resolver + /// + public IIpResolver IpResolver { get; } /// /// Used to validate a user's session @@ -85,16 +96,6 @@ namespace Umbraco.Core.Security /// An protected virtual IPasswordHasher GetDefaultPasswordHasher(IPasswordConfiguration passwordConfiguration) => new PasswordHasher(); - /// - /// Gets the password configuration - /// - public IPasswordConfiguration PasswordConfiguration { get; } - - /// - /// Gets the IP resolver - /// - public IIpResolver IpResolver { get; } - /// /// Helper method to generate a password for a user based on the current password validator ///