示例#1
0
 public AccessController(
     IOpenIdApplicationManager applicationManager,
     IOpenIdAuthorizationManager authorizationManager,
     IOpenIdScopeManager scopeManager,
     ShellSettings shellSettings)
 {
     _applicationManager   = applicationManager;
     _authorizationManager = authorizationManager;
     _scopeManager         = scopeManager;
     _shellSettings        = shellSettings;
 }
 public AccessController(
     IOpenIdApplicationManager applicationManager,
     IOpenIdAuthorizationManager authorizationManager,
     IStringLocalizer <AccessController> localizer,
     IOpenIdScopeManager scopeManager,
     ShellSettings shellSettings,
     IOpenIdServerService serverService)
 {
     S = localizer;
     _applicationManager   = applicationManager;
     _authorizationManager = authorizationManager;
     _scopeManager         = scopeManager;
     _shellSettings        = shellSettings;
 }
 public ApplicationController(
     IShapeFactory shapeFactory,
     ISiteService siteService,
     IStringLocalizer <ApplicationController> stringLocalizer,
     IAuthorizationService authorizationService,
     IOpenIdApplicationManager applicationManager,
     IOpenIdScopeManager scopeManager,
     IHtmlLocalizer <ApplicationController> htmlLocalizer,
     INotifier notifier,
     ShellDescriptor shellDescriptor)
 {
     New                   = shapeFactory;
     _siteService          = siteService;
     S                     = stringLocalizer;
     H                     = htmlLocalizer;
     _authorizationService = authorizationService;
     _applicationManager   = applicationManager;
     _scopeManager         = scopeManager;
     _notifier             = notifier;
     _shellDescriptor      = shellDescriptor;
 }
示例#4
0
 public AccessController(
     IOpenIdApplicationManager applicationManager,
     IOpenIdAuthorizationManager authorizationManager,
     IOptions <IdentityOptions> identityOptions,
     IStringLocalizer <AccessController> localizer,
     IOpenIdScopeManager scopeManager,
     ShellSettings shellSettings,
     IOpenIdServerService serverService,
     RoleManager <IRole> roleManager,
     SignInManager <IUser> signInManager,
     UserManager <IUser> userManager)
 {
     T = localizer;
     _applicationManager   = applicationManager;
     _authorizationManager = authorizationManager;
     _scopeManager         = scopeManager;
     _shellSettings        = shellSettings;
     _identityOptions      = identityOptions;
     _signInManager        = signInManager;
     _userManager          = userManager;
     _roleManager          = roleManager;
 }
示例#5
0
 public ScopeController(
     IOpenIdScopeManager scopeManager,
     IShapeFactory shapeFactory,
     ISiteService siteService,
     IStringLocalizer <ScopeController> stringLocalizer,
     IAuthorizationService authorizationService,
     IHtmlLocalizer <ScopeController> htmlLocalizer,
     INotifier notifier,
     ShellDescriptor shellDescriptor,
     ShellSettings shellSettings,
     IShellHost shellHost)
 {
     _scopeManager         = scopeManager;
     New                   = shapeFactory;
     _siteService          = siteService;
     S                     = stringLocalizer;
     _authorizationService = authorizationService;
     _notifier             = notifier;
     _shellDescriptor      = shellDescriptor;
     _shellSettings        = shellSettings;
     _shellHost            = shellHost;
 }
示例#6
0
 /// <summary>
 /// This recipe step adds an OpenID Connect scope.
 /// </summary>
 public OpenIdScopeStep(IOpenIdScopeManager scopeManager)
 {
     _scopeManager = scopeManager;
 }