C# Class Chaos.Portal.Authentication.Extension.EmailPassword

Inheritance: AExtension
Afficher le fichier Open project: CHAOS-Community/CHAOS.Portal.Authentication

Private Properties

Свойство Type Description
AuthenticateSessionWithUser void
GeneratePasswordHash string
GetUserByEmail UserInfo
VerifyPasswordMatches void

Méthodes publiques

Méthode Description
EmailPassword ( IPortalApplication portalApplication, IAuthenticationRepository authenticationRepository, PasswordSettings settings, IAuthenticationModule authenticationModule ) : Chaos.Portal.Core.Exceptions
Login ( string email, string password ) : UserInfo
SetPassword ( System.Guid userGuid, string newPassword ) : ScalarResult

Private Methods

Méthode Description
AuthenticateSessionWithUser ( UserInfo user ) : void
GeneratePasswordHash ( string password, string salt ) : string
GetUserByEmail ( string email ) : UserInfo
VerifyPasswordMatches ( string password, UserInfo user ) : void

Method Details

EmailPassword() public méthode

public EmailPassword ( IPortalApplication portalApplication, IAuthenticationRepository authenticationRepository, PasswordSettings settings, IAuthenticationModule authenticationModule ) : Chaos.Portal.Core.Exceptions
portalApplication IPortalApplication
authenticationRepository IAuthenticationRepository
settings PasswordSettings
authenticationModule IAuthenticationModule
Résultat Chaos.Portal.Core.Exceptions

Login() public méthode

public Login ( string email, string password ) : UserInfo
email string
password string
Résultat UserInfo

SetPassword() public méthode

public SetPassword ( System.Guid userGuid, string newPassword ) : ScalarResult
userGuid System.Guid
newPassword string
Résultat ScalarResult