Inheritance: ICredentialsResolver
Ejemplo n.º 1
0
        public BasicAuthIdentityResolver(Func <IReadOnlyZetboxContext> resolverCtxFactory, BasicAuthCredentialsResolver credentialResolver)
            : base(resolverCtxFactory)
        {
            if (credentialResolver == null)
            {
                throw new ArgumentNullException("credentialResolver");
            }

            _credentialResolver = credentialResolver;
        }
Ejemplo n.º 2
0
        public BasicAuthPrincipalResolver(ILifetimeScope parentScope, BasicAuthCredentialsResolver credentialResolver)
            : base(parentScope)
        {
            if (credentialResolver == null) throw new ArgumentNullException("credentialResolver");

            _credentialResolver = credentialResolver;
        }
Ejemplo n.º 3
0
        public BasicAuthIdentityResolver(Func<IReadOnlyZetboxContext> resolverCtxFactory, BasicAuthCredentialsResolver credentialResolver)
            : base(resolverCtxFactory)
        {
            if (credentialResolver == null) throw new ArgumentNullException("credentialResolver");

            _credentialResolver = credentialResolver;
        }