// NewLoginManager return new login manager.
NewLoginManager return new login manager.
// NewLoginManager return new login manager .
func NewLoginManager(h database.MgoSession, r service.InternalRegistry) LoginManagerInterface {
	m := &LoginManager{
		r:                       r,
		userService:             service.NewUserService(h),
		userIdentityService:     service.NewUserIdentityService(h),
		mfaService:              service.NewMfaService(h),
		authLogService:          service.NewAuthLogService(h),
		identityProviderService: service.NewAppIdentityProviderService(),
	}
	return m
}
func NewLoginManager ( h database . MgoSession , r service . InternalRegistry ) LoginManagerInterface { m := & LoginManager { r : r , userService : service . NewUserService ( h ) , userIdentityService : service . NewUserIdentityService ( h ) , mfaService : service . NewMfaService ( h ) , authLogService : service . NewAuthLogService ( h ) , identityProviderService : service . NewAppIdentityProviderService ( ) , } return m }
NewLoginManager return new login manager.
NewLoginManager return new login manager .