C# Class SaaSOvation.IdentityAccess.Domain.Model.Identity.PasswordService

Datei anzeigen Open project: eulerfx/IDDD_Samples_NET Class Usage Examples

Public Methods

Method Description
GenerateStrongPassword ( ) : string
IsStrong ( string plainTextPassword ) : bool
IsVeryStrong ( string plainTextPassword ) : bool
IsWeak ( string plainTextPassword ) : bool
PasswordService ( ) : System

Private Methods

Method Description
CalculatePasswordStrength ( String plainTextPassword ) : int

Method Details

GenerateStrongPassword() public method

public GenerateStrongPassword ( ) : string
return string

IsStrong() public method

public IsStrong ( string plainTextPassword ) : bool
plainTextPassword string
return bool

IsVeryStrong() public method

public IsVeryStrong ( string plainTextPassword ) : bool
plainTextPassword string
return bool

IsWeak() public method

public IsWeak ( string plainTextPassword ) : bool
plainTextPassword string
return bool

PasswordService() public method

public PasswordService ( ) : System
return System