class PasswordGenerationService (View source)

Methods

__construct(ConfigurationManager|null $configManager = null)

No description

string
generatePassword(int|null $length = null)

Generates a random password that complies with password policy

Details

__construct(ConfigurationManager|null $configManager = null)

No description

Parameters

ConfigurationManager|null $configManager

string generatePassword(int|null $length = null)

Generates a random password that complies with password policy

Parameters

int|null $length

Custom length (overrides policy settings)

Return Value

string

Generated password