Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SignOnService"/> class.
 /// </summary>
 /// <param name="permissionClaimsManager">The permission claims manager.</param>
 /// <param name="currentClaimsPrincipalService">The current claims principal service.</param>
 public SignOnService(
     IPermissionClaimsManager permissionClaimsManager,
     ICurrentClaimsPrincipalService currentClaimsPrincipalService )
 {
     _permissionClaimsManager = permissionClaimsManager;
     _currentClaimsPrincipalService = currentClaimsPrincipalService;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SystemAccountProvider"/> class.
 /// </summary>
 /// <param name="currentClaimsPrincipalService">The current claims principal service.</param>
 /// <param name="accountRepository">The account repository.</param>
 public SystemAccountProvider(
     ICurrentClaimsPrincipalService currentClaimsPrincipalService,
     ISystemAccountRepository accountRepository)
 {
     _currentClaimsPrincipalService = currentClaimsPrincipalService;
     _accountRepository = accountRepository;
 }
Example #3
0
 public LoginHandler()
 {
     _currentClaimsPrincipalService = IoC.CurrentContainer.Resolve<ICurrentClaimsPrincipalService>();
     _staffRepository = IoC.CurrentContainer.Resolve<IStaffRepository>();
     _accountRepository = IoC.CurrentContainer.Resolve<ISystemAccountRepository> ();
     _signOnService = IoC.CurrentContainer.Resolve<ISignOnService>();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UserInformationDtoFactory"/> class.
 /// </summary>
 /// <param name="sessionProvider">The session provider.</param>
 /// <param name="currentClaimsPrincipalService">The current claims principal service.</param>
 public UserInformationDtoFactory(
     ISessionProvider sessionProvider,
     ICurrentClaimsPrincipalService currentClaimsPrincipalService )
 {
     _sessionProvider = sessionProvider;
     _currentClaimsPrincipalService = currentClaimsPrincipalService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CurrentUserPermissionService"/> class.
 /// </summary>
 /// <param name="currentClaimsPrincipalService">The current claims principal service.</param>
 public CurrentUserPermissionService( ICurrentClaimsPrincipalService currentClaimsPrincipalService )
 {
     _currentClaimsPrincipalService = currentClaimsPrincipalService;
 }