Exemplo n.º 1
0
 public UserManager(UserRepository userRepository, CommunicationTokenGenerator communicationTokenGenerator, AuthenticationManager authenticationManager,
                    DefaultUserProvider defaultMembershipProvider)
 {
     m_userRepository = userRepository;
     m_communicationTokenGenerator = communicationTokenGenerator;
     m_authenticationManager       = authenticationManager;
     m_defaultMembershipProvider   = defaultMembershipProvider;
 }
Exemplo n.º 2
0
 public AuthenticationManager(UserRepository userRepository, CommunicationTokenGenerator communicationTokenGenerator, TimeSpan timeToTokenExpiration, TimeSpan virtualTokenExpiration)
 {
     m_userRepository = userRepository;
     m_communicationTokenGenerator = communicationTokenGenerator;
     m_timeToTokenExpiration       = timeToTokenExpiration;
 }