C# 클래스 MvcTemplate.Validators.AccountValidator

상속: BaseValidator, IAccountValidator
파일 보기 프로젝트 열기: NonFactors/MVC5.Template 1 사용 예제들

Private Properties

프로퍼티 타입 설명
IsActive System.Boolean
IsAuthenticated System.Boolean
IsCorrectPassword System.Boolean
IsUniqueEmail System.Boolean
IsUniqueUsername System.Boolean
IsValidResetToken System.Boolean

공개 메소드들

메소드 설명
AccountValidator ( IUnitOfWork unitOfWork, IHasher hasher ) : MvcTemplate.Components.Mvc
CanCreate ( AccountCreateView view ) : System.Boolean
CanDelete ( ProfileDeleteView view ) : System.Boolean
CanEdit ( AccountEditView view ) : System.Boolean
CanEdit ( ProfileEditView view ) : System.Boolean
CanLogin ( AccountLoginView view ) : System.Boolean
CanRecover ( MvcTemplate.Objects.AccountRecoveryView view ) : System.Boolean
CanRegister ( AccountRegisterView view ) : System.Boolean
CanReset ( MvcTemplate.Objects.AccountResetView view ) : System.Boolean

비공개 메소드들

메소드 설명
IsActive ( String username ) : System.Boolean
IsAuthenticated ( String username, String password ) : System.Boolean
IsCorrectPassword ( Int32 accountId, String password ) : System.Boolean
IsUniqueEmail ( Int32 accountId, String email ) : System.Boolean
IsUniqueUsername ( Int32 accountId, String username ) : System.Boolean
IsValidResetToken ( String token ) : System.Boolean

메소드 상세

AccountValidator() 공개 메소드

public AccountValidator ( IUnitOfWork unitOfWork, IHasher hasher ) : MvcTemplate.Components.Mvc
unitOfWork IUnitOfWork
hasher IHasher
리턴 MvcTemplate.Components.Mvc

CanCreate() 공개 메소드

public CanCreate ( AccountCreateView view ) : System.Boolean
view MvcTemplate.Objects.AccountCreateView
리턴 System.Boolean

CanDelete() 공개 메소드

public CanDelete ( ProfileDeleteView view ) : System.Boolean
view MvcTemplate.Objects.ProfileDeleteView
리턴 System.Boolean

CanEdit() 공개 메소드

public CanEdit ( AccountEditView view ) : System.Boolean
view MvcTemplate.Objects.AccountEditView
리턴 System.Boolean

CanEdit() 공개 메소드

public CanEdit ( ProfileEditView view ) : System.Boolean
view MvcTemplate.Objects.ProfileEditView
리턴 System.Boolean

CanLogin() 공개 메소드

public CanLogin ( AccountLoginView view ) : System.Boolean
view MvcTemplate.Objects.AccountLoginView
리턴 System.Boolean

CanRecover() 공개 메소드

public CanRecover ( MvcTemplate.Objects.AccountRecoveryView view ) : System.Boolean
view MvcTemplate.Objects.AccountRecoveryView
리턴 System.Boolean

CanRegister() 공개 메소드

public CanRegister ( AccountRegisterView view ) : System.Boolean
view MvcTemplate.Objects.AccountRegisterView
리턴 System.Boolean

CanReset() 공개 메소드

public CanReset ( MvcTemplate.Objects.AccountResetView view ) : System.Boolean
view MvcTemplate.Objects.AccountResetView
리턴 System.Boolean