public AuthenticationTokenAuthorizationPolicy(ICurrentSDKUser currentSdkUser, IAuthenticationTokenRepository tokenRepository, IPrincipalFactory principalFactory, ILogger logger)
 {
     _currentSdkUser = currentSdkUser;
     _tokenRepository = tokenRepository;
     _principalFactory = principalFactory;
     _logger = logger;
 }
Beispiel #2
0
 public AuthenticationTokenAuthorizationPolicy(ICurrentSDKUser currentSdkUser, IAuthenticationTokenRepository tokenRepository, IPrincipalFactory principalFactory, ILogger logger)
 {
     _currentSdkUser   = currentSdkUser;
     _tokenRepository  = tokenRepository;
     _principalFactory = principalFactory;
     _logger           = logger;
 }
Beispiel #3
0
 public AccountController(IAccountRepository accountRepository, IAuthenticationTokenRepository authenticationTokenRepository, IContextService contextService, INotificationService notificationService, ISystemClock systemClock)
 {
     _accountRepository             = accountRepository;
     _authenticationTokenRepository = authenticationTokenRepository;
     _contextService      = contextService;
     _notificationService = notificationService;
     _systemClock         = systemClock;
 }
Beispiel #4
0
 public AuthenticationService(IAuthenticationRepository authenticationRepository, IAuthenticationTokenRepository authenticationTokenRepository)
 {
     this.authenticationRepository      = authenticationRepository;
     this.authenticationTokenRepository = authenticationTokenRepository;
 }
 public TokenAuthenticationApi(IAuthenticationTokenRepository repository, IUserAuthenticator authenticator)
 {
     _repository = repository;
     _authenticator = authenticator;
 }
 public AuthenticationTokenService(IAuthenticationTokenRepository authenticationTokenRepository, IUserRepository userForAuditingRepository, IApplicationTokenRepository applicationTokenRepository)
 {
     _userForAuditingRepository = userForAuditingRepository;
     _authenticationTokenRepository = authenticationTokenRepository;
     _applicationTokenRepository = applicationTokenRepository;
 }
Beispiel #7
0
 public TokenAuthenticationApi(IAuthenticationTokenRepository repository, IUserAuthenticator authenticator)
 {
     _repository    = repository;
     _authenticator = authenticator;
 }