public AuthorizingUserState(User user, Organization ssoOrganization, IOrganizationRoleService organizationRoleService, ISsoStateFactory ssoStateFactory)
 {
     _user                    = user;
     _ssoOrganization         = ssoOrganization;
     _organizationRoleService = organizationRoleService;
     _ssoStateFactory         = ssoStateFactory;
 }
Example #2
0
 public AuthorizingUserFromUnknownOrgState(
     User user,
     ISsoStateFactory stateFactory)
 {
     _user         = user;
     _stateFactory = stateFactory;
 }
Example #3
0
        public InitialFlowState(
            SsoFlowConfiguration configuration,
            Saml20IdentityParser parser,

            ISsoStateFactory stateFactory,
            ILogger logger)
        {
            _parser       = parser;
            _stateFactory = stateFactory;
            _logger       = logger;
            _samlKitosReadAccessRoleIdentifier = $"{configuration.PrivilegePrefix}/roles/usersystemrole/readaccess/1";
        }
Example #4
0
 public PrivilegeVerifiedState(
     Guid userUuid,
     string cvrNumber,
     IUserRepository userRepository,
     IStsBrugerInfoService stsBrugerInfoService,
     ISsoUserIdentityRepository ssoUserIdentityRepository,
     ISsoStateFactory ssoStateFactory)
 {
     _userUuid                  = userUuid;
     _cvrNumber                 = cvrNumber;
     _stsBrugerInfoService      = stsBrugerInfoService;
     _ssoUserIdentityRepository = ssoUserIdentityRepository;
     _userRepository            = userRepository;
     _ssoStateFactory           = ssoStateFactory;
 }
Example #5
0
 public UserIdentifiedState(
     User user,
     StsBrugerInfo externalUser,
     ISsoUserIdentityRepository ssoUserIdentityRepository,
     ISsoOrganizationIdentityRepository ssoOrganizationIdentityRepository,
     IOrganizationRepository organizationRepository,
     ISsoStateFactory ssoStateFactory,
     ILogger logger)
 {
     _user         = user;
     _externalUser = externalUser;
     _ssoUserIdentityRepository         = ssoUserIdentityRepository;
     _ssoOrganizationIdentityRepository = ssoOrganizationIdentityRepository;
     _organizationRepository            = organizationRepository;
     _ssoStateFactory = ssoStateFactory;
     _logger          = logger;
 }
Example #6
0
 public SsoFlowApplicationService(ISsoStateFactory stateFactory)
 {
     _stateFactory = stateFactory;
 }