Exemplo n.º 1
0
 public AuthenticationApplicationService(
     IPasswordLoginCommand passwordLoginCommand,
     IJwtFactory jwtFactory,
     ITransactionManager transactionManager,
     ICommandRepository <Identity> identityCommandRepository,
     IRefreshTokenLoginCommand refreshTokenLoginCommand,
     IQueryRepository <AuthenticationService> authenticationServiceCommandRepository,
     IGoogleAuthenticationValidator googleAuthenticationValidator,
     IFacebookAuthenticationValidator facebookAuthenticationValidator,
     IClientCredentialLoginCommand clientCredentialLoginCommand,
     ICreateIdentityCommand createIdentityCommand,
     IGetIdentityByClientCredentialIdentifierQuery getIdentityByClientCredentialIdentifierQuery,
     IRegisterClientCredentialCommand registerClientCredentialCommand)
 {
     _passwordLoginCommand      = passwordLoginCommand;
     _jwtFactory                = jwtFactory;
     _transactionManager        = transactionManager;
     _identityCommandRepository = identityCommandRepository;
     _refreshTokenLoginCommand  = refreshTokenLoginCommand;
     _authenticationServiceCommandRepository = authenticationServiceCommandRepository;
     _googleAuthenticationValidator          = googleAuthenticationValidator;
     _facebookAuthenticationValidator        = facebookAuthenticationValidator;
     _clientCredentialLoginCommand           = clientCredentialLoginCommand;
     _createIdentityCommand = createIdentityCommand;
     _getIdentityByClientCredentialIdentifierQuery = getIdentityByClientCredentialIdentifierQuery;
     _registerClientCredentialCommand = registerClientCredentialCommand;
 }
Exemplo n.º 2
0
 public IdentityApplicationService(
     ITransactionManager transactionManager,
     IResetPasswordCommand resetPasswordCommand,
     ICommandRepository <Identity> identityCommandRepository,
     ICommandRepository <AuthenticationService> authenticationServiceCommandRepository,
     IQueryRepository <Identity> identityQueryRepository,
     IChangePasswordCommand changePasswordCommand,
     IRegisterPasswordCommand registerPasswordCommand,
     ICreateIdentityCommand createIdentityCommand,
     IForgotPasswordCommand forgotPasswordCommand,
     IConfirmIdentityCommand confirmIdentityCommand,
     ICreateRefreshTokenCommand createRefreshTokenCommand,
     IResendConfirmIdentityCommand resendConfirmIdentityCommand,
     ILogoutCommand logoutCommand)
 {
     _transactionManager        = transactionManager;
     _resetPasswordCommand      = resetPasswordCommand;
     _identityCommandRepository = identityCommandRepository;
     _authenticationServiceCommandRepository = authenticationServiceCommandRepository;
     _identityQueryRepository      = identityQueryRepository;
     _changePasswordCommand        = changePasswordCommand;
     _registerPasswordCommand      = registerPasswordCommand;
     _createIdentityCommand        = createIdentityCommand;
     _forgotPasswordCommand        = forgotPasswordCommand;
     _confirmIdentityCommand       = confirmIdentityCommand;
     _createRefreshTokenCommand    = createRefreshTokenCommand;
     _logoutCommand                = logoutCommand;
     _resendConfirmIdentityCommand = resendConfirmIdentityCommand;
 }
Exemplo n.º 3
0
 public CreateAdminAuthenticationIdentityKernalService(
     ITransactionManager transactionManager,
     ICreateIdentityCommand createIdentityCommand,
     ICommandRepository <Identity> commandRepository,
     IRegisterPasswordCommand registerPasswordCommand,
     ICommandRepository <AuthenticationService> authenticationServiceCommandRepository,
     IForgotPasswordCommand forgotPasswordCommand,
     ILogger <CreateAdminAuthenticationIdentityKernalService> logger)
 {
     _transactionManager      = transactionManager;
     _createIdentityCommand   = createIdentityCommand;
     _commandRepository       = commandRepository;
     _registerPasswordCommand = registerPasswordCommand;
     _authenticationServiceCommandRepository = authenticationServiceCommandRepository;
     _forgotPasswordCommand = forgotPasswordCommand;
     _logger = logger;
 }