public AzureClaimsAuthenticationManagerProvider(IStaffInformationFromEmailProvider staffInformationFromEmailProvider, IClaimsIssuedTrackingEventProvider claimsIssuedTrackingEventProvider, IUserClaimsProvider userClaimsProvider, IGetImpersonatedClaimsDataProvider getImpersonatedClaimsDataProvider) { this.staffInformationFromEmailProvider = staffInformationFromEmailProvider; this.claimsIssuedTrackingEventProvider = claimsIssuedTrackingEventProvider; this.userClaimsProvider = userClaimsProvider; this.getImpersonatedClaimsDataProvider = getImpersonatedClaimsDataProvider; }
protected override void EstablishContext() { base.EstablishContext(); staffInformationFromEmailProvider = mocks.StrictMock<IStaffInformationFromEmailProvider>(); authenticationProvider = mocks.StrictMock<IAuthenticationProvider>(); httpContextItemsProvider = mocks.StrictMock<IHttpContextItemsProvider>(); userClaimsProvider = mocks.StrictMock<IUserClaimsProvider>(); ClaimsIssuedTrackingEventProvider = mocks.StrictMock<IClaimsIssuedTrackingEventProvider>(); getImpersonatedClaimsDataProvider = mocks.StrictMock<IGetImpersonatedClaimsDataProvider>(); }
public DashboardClaimsAuthenticationManagerProvider(IStaffInformationFromEmailProvider staffInformationFromEmailProvider, IAuthenticationProvider authenticationProvider, IUserClaimsProvider userClaimsProvider, IClaimsIssuedTrackingEventProvider claimsIssuedTrackingEventProvider, IHttpContextItemsProvider httpContextItemsProvider, IGetImpersonatedClaimsDataProvider getImpersonatedClaimsDataProvider) { this.staffInformationFromEmailProvider = staffInformationFromEmailProvider; this.authenticationProvider = authenticationProvider; this.userClaimsProvider = userClaimsProvider; this.claimsIssuedTrackingEventProvider = claimsIssuedTrackingEventProvider; this.httpContextItemsProvider = httpContextItemsProvider; this.getImpersonatedClaimsDataProvider = getImpersonatedClaimsDataProvider; }