public TokenService(SecurityTokenServiceConfiguration configuration, IUserRepository userRepository, IClaimsRepository claimsRepository, IIdentityProviderRepository identityProviderRepository, IClaimsTransformationRulesRepository claimsTransformationRulesRepository)
     : base(configuration)
 {
     UserRepository = userRepository;
     ClaimsRepository = claimsRepository;
     IdentityProviderRepository = identityProviderRepository;
     ClaimsTransformationRulesRepository = claimsTransformationRulesRepository;
 }
Ejemplo n.º 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();
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 8
0
 public IPController(IIdentityProviderRepository identityProviderRepository)
 {
     this.identityProviderRepository = identityProviderRepository;
 }
Ejemplo n.º 9
0
 public AuthService(HttpContextBase context, IIdentityProviderRepository identityProviderRepository)
 {
     this.context = context;
     this.identityProviderRepository = identityProviderRepository;
 }
Ejemplo n.º 10
0
 public AuthService(IIdentityProviderRepository identityProviderRepository)
     : this(new HttpContextWrapper(HttpContext.Current), identityProviderRepository)
 {
 }
Ejemplo n.º 11
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)
 {
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 16
0
 private AuthService CreateAuthService(HttpContextBase context, IIdentityProviderRepository identityProviderRepository)
 {
     return new AuthService(context, identityProviderRepository);
 }