Пример #1
0
 public JMSAuthenticationService(IAuthenticationSchemeProvider schemes, IAuthenticationHandlerProvider handlers, IClaimsTransformation transform, IOptions <AuthenticationOptions> options) : base(schemes, handlers, transform, options)
 {
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="schemes">The <see cref="IAuthenticationSchemeProvider"/>.</param>
 /// <param name="handlers">The <see cref="IAuthenticationRequestHandler"/>.</param>
 /// <param name="transform">The The <see cref="IClaimsTransformation"/>.</param>
 public AuthenticationService(IAuthenticationSchemeProvider schemes, IAuthenticationHandlerProvider handlers, IClaimsTransformation transform)
 {
     Schemes   = schemes;
     Handlers  = handlers;
     Transform = transform;
 }
Пример #3
0
 public AuthenticationHandler(ILdapRepository ldapRepository,
                              IAuthenticationSchemeProvider schemes, IAuthenticationHandlerProvider handlers,
                              IClaimsTransformation transform) : base(schemes, handlers, transform)
 {
     _ldapRepository = ldapRepository;
 }
Пример #4
0
 public MultiTenantAuthenticationService(IAuthenticationSchemeProvider schemes,
                                         IAuthenticationHandlerProvider handlers,
                                         IClaimsTransformation transform) : base(schemes, handlers, transform)
 {
 }
 public AuthorizationAuthenticationService(
     IAuthenticationSchemeProvider schemes, IAuthenticationHandlerProvider handlers,
     IClaimsTransformation transform, Microsoft.Extensions.Options.IOptions <AuthenticationOptions> options
     ) : base(schemes, handlers, transform, options)
 {
 }
Пример #6
0
 public ClaimsTransformationMiddleware(RequestDelegate next, IClaimsTransformation claimsTransformer)
 {
     _next = next;
     _claimsTransformer = claimsTransformer;
 }
Пример #7
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="schemes">The <see cref="IAuthenticationSchemeProvider"/>.</param>
 /// <param name="handlers">The <see cref="IAuthenticationHandlerProvider"/>.</param>
 /// <param name="transform">The <see cref="IClaimsTransformation"/>.</param>
 /// <param name="options">The <see cref="AuthenticationOptions"/>.</param>
 public AuthenticationService(IAuthenticationSchemeProvider schemes, IAuthenticationHandlerProvider handlers, IClaimsTransformation transform, IOptions <AuthenticationOptions> options)
 {
     Schemes   = schemes;
     Handlers  = handlers;
     Transform = transform;
     Options   = options.Value;
 }