public RecordError(IAuthorityContext AuthorityContext, string type, string message, string stacktrace) : base(AuthorityContext) { _type = type; _message = message; _stacktrace = stacktrace; }
public CreatePolicy(IAuthorityContext AuthorityContext, Guid userId, Guid productId, string name) : base(AuthorityContext) { _userId = userId; _productId = productId; _name = name; }
public CreateStatementCommandHandler(IDoctrinaDbContext context, IMediator mediator, IMapper mapper, IAuthorityContext currentAuthority) { _context = context; _mediator = mediator; _mapper = mapper; _authorityContext = currentAuthority; }
public DeveloperRegistration(IAuthorityContext AuthorityContext, string email, string displayname, string password) : base(AuthorityContext) { _email = email; _displayname = displayname; _password = password; _passwordService = new PasswordService(); }
public DeveloperService( IAuthorityContext AuthorityContext, IEmailService emailService, IConfiguration configuration) { _AuthorityContext = AuthorityContext; _emailService = emailService; _configuration = configuration; }
public UpdateProduct(IAuthorityContext AuthorityContext, string name, bool isActive, bool isPublic, string siteUrl, string landingPage) : base(AuthorityContext) { _name = name; _isPublic = isPublic; _siteUrl = siteUrl; _landingPage = landingPage; _isActive = isActive; }
public UserRegistration(IAuthorityContext authorityContext, Guid productId, string email, string username, string password) : base(authorityContext) { _productId = productId; _email = email; _username = username; _password = password; _passwordService = new PasswordService(); }
public CreateProduct(IAuthorityContext AuthorityContext, Guid ownerId, string name, string siteUrl, string notificationEmail, string activationUrl) : base(AuthorityContext) { _ownerId = ownerId; _name = name; _siteUrl = siteUrl; _notificationEmail = notificationEmail; _activationUrl = activationUrl; }
public ExperienceApiAuthenticationHandler( IOptionsMonitor <ExperienceApiAuthenticationOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock, DoctrinaAuthorizationDbContext authorizationDbContext, IAuthorityContext authority, IWebHostEnvironment environment ) : base(options, logger, encoder, clock) { _authorizationDbContext = authorizationDbContext; _authority = authority; _environment = environment; }
public AccountService(IAuthorityContext authorityContext, IEmailService emailService) { if (authorityContext == null) { throw new ArgumentNullException("authorityContext"); } if (emailService == null) { throw new ArgumentNullException("emailService"); } _authorityContext = authorityContext; _emailService = emailService; }
protected SafeOperationWithNoReturnAsync(IAuthorityContext authorityContext) : base(authorityContext) { }
public ClaimService(IAuthorityContext AuthorityContext) { _AuthorityContext = AuthorityContext; }
public PolicyService(IAuthorityContext AuthorityContext) { _authorityContext = AuthorityContext; }
public ProductService(IAuthorityContext authorityContext) { _authorityContext = authorityContext; }
public CreateClaimForProduct(IAuthorityContext AuthorityContext) : base(AuthorityContext) { }
public DeleteProduct(IAuthorityContext AuthorityContext) : base(AuthorityContext) { }
protected OperationWithNoReturn(IAuthorityContext authorityContext, IsolationLevel isolationLevel = IsolationLevel.ReadCommitted) : base(authorityContext, isolationLevel) { }
public DeveloperActivation(IAuthorityContext authorityContext, Guid activationCode) : base(authorityContext) { _activationCode = activationCode; }
public UserActivation(IAuthorityContext authorityContext, Guid productId, Guid activationCode) : base(authorityContext) { _productId = productId; _activationCode = activationCode; }
public ToggleProductPublish(IAuthorityContext context, Guid ownerId, Guid productId) : base(context) { _ownerId = ownerId; _productId = productId; }
protected Operation(IAuthorityContext AuthorityContext, IsolationLevel isolationLevel = IsolationLevel.ReadCommitted) { _authorityContext = AuthorityContext; _authorityContext.BeginTransaction(isolationLevel); }
public ErrorService(IAuthorityContext AuthorityContext) { _authorityContext = AuthorityContext; }