Class PasswordGenerator
Generates a password
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Security
Assembly: Umbraco.Core.dll
Syntax
public class PasswordGenerator
Remarks
This uses logic copied from the old MembershipProvider.GeneratePassword logic
Constructors
View SourcePasswordGenerator(IPasswordConfiguration)
Declaration
public PasswordGenerator(IPasswordConfiguration passwordConfiguration)
Parameters
Type | Name | Description |
---|---|---|
IPasswordConfiguration | passwordConfiguration |
Methods
View SourceGeneratePassword()
Declaration
public string GeneratePassword()
Returns
Type | Description |
---|---|
System.String |