public TokenService(SecurityTokenServiceConfiguration configuration, IUserRepository userRepository, IClaimsRepository claimsRepository, IIdentityProviderRepository identityProviderRepository, IClaimsTransformationRulesRepository claimsTransformationRulesRepository)
     : base(configuration)
 {
     UserRepository = userRepository;
     ClaimsRepository = claimsRepository;
     IdentityProviderRepository = identityProviderRepository;
     ClaimsTransformationRulesRepository = claimsTransformationRulesRepository;
 }
Exemple #2
0
 public TokenService(SecurityTokenServiceConfiguration configuration, IConfigurationRepository configurationRepository, IUserRepository userRepository, IClaimsRepository claimsRepository, IIdentityProviderRepository identityProviderRepository, IClaimsTransformationRulesRepository claimsTransformationRulesRepository)
     : base(configuration)
 {
     UserRepository                      = userRepository;
     ClaimsRepository                    = claimsRepository;
     IdentityProviderRepository          = identityProviderRepository;
     ClaimsTransformationRulesRepository = claimsTransformationRulesRepository;
     ConfigurationRepository             = configurationRepository;
 }
 public IdentityProvidersViewModel(IIdentityProviderRepository identityProviderRepository)
 {
     // TODO: Complete member initialization
     this.identityProviderRepository = identityProviderRepository;
     this.IdentityProviders =
         identityProviderRepository.GetAll()
         .Select(x => new IPModel { ID = x.ID, Name = x.DisplayName })
         .ToArray();
 }
 public IdentityProvidersViewModel(IIdentityProviderRepository identityProviderRepository)
 {
     // TODO: Complete member initialization
     this.identityProviderRepository = identityProviderRepository;
     this.IdentityProviders          =
         identityProviderRepository.GetAll()
         .Select(x => new IPModel {
         ID = x.ID, Name = x.DisplayName
     })
         .ToArray();
 }
Exemple #5
0
 public HrdController(IConfigurationRepository configurationRepository, IIdentityProviderRepository identityProviderRepository)
 {
     IdentityProviderRepository = identityProviderRepository;
     ConfigurationRepository    = configurationRepository;
 }
 public IdentityProviderController(IIdentityProviderRepository idpRepository)
 {
     _idpRepository = idpRepository;
 }
 public HrdController(IConfigurationRepository configurationRepository, IIdentityProviderRepository identityProviderRepository)
 {
     IdentityProviderRepository = identityProviderRepository;
     ConfigurationRepository = configurationRepository;
 }
Exemple #8
0
 public IPController(IIdentityProviderRepository identityProviderRepository)
 {
     this.identityProviderRepository = identityProviderRepository;
 }
 public AuthService(HttpContextBase context, IIdentityProviderRepository identityProviderRepository)
 {
     this.context = context;
     this.identityProviderRepository = identityProviderRepository;
 }
 public AuthService(IIdentityProviderRepository identityProviderRepository)
     : this(new HttpContextWrapper(HttpContext.Current), identityProviderRepository)
 {
 }
 public IPController(IIdentityProviderRepository identityProviderRepository)
 {
     this.identityProviderRepository = identityProviderRepository;
 }
 public AuthService(HttpContextBase context, IIdentityProviderRepository identityProviderRepository)
 {
     this.context = context;
     this.identityProviderRepository = identityProviderRepository;
 }
 public AuthService(IIdentityProviderRepository identityProviderRepository)
     : this(new HttpContextWrapper(HttpContext.Current), identityProviderRepository)
 {
 }
Exemple #14
0
 private AuthService CreateAuthService(HttpContextBase context, IIdentityProviderRepository identityProviderRepository)
 {
     return(new AuthService(context, identityProviderRepository));
 }
 public HrdController(IConfigurationRepository configurationRepository, IIdentityProviderRepository identityProviderRepository, IUserManagementRepository userManagementRepository)
 {
     IdentityProviderRepository = identityProviderRepository;
     ConfigurationRepository = configurationRepository;
     UserManagementRepository = userManagementRepository;
 }
 private AuthService CreateAuthService(HttpContextBase context, IIdentityProviderRepository identityProviderRepository)
 {
     return new AuthService(context, identityProviderRepository);
 }