public ConsentStore(EntityFrameworkServiceOptions options, IOperationalDbContext context)
        {
            if (context == null) throw new ArgumentNullException("context");

            this.options = options;
            this.context = context;
        }
Пример #2
0
        public ConsentStore(IOperationalDbContext context)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }

            this.context = context;
        }
Пример #3
0
        public ConsentStore(EntityFrameworkServiceOptions options, IOperationalDbContext context)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }

            this.options = options;
            this.context = context;
        }
        protected BaseTokenStore(IOperationalDbContext context, TokenType tokenType, IScopeStore scopeStore, IClientStore clientStore)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }
            if (scopeStore == null)
            {
                throw new ArgumentNullException("scopeStore");
            }
            if (clientStore == null)
            {
                throw new ArgumentNullException("clientStore");
            }

            this.context     = context;
            this.tokenType   = tokenType;
            this.scopeStore  = scopeStore;
            this.clientStore = clientStore;
        }
 public CustomRefreshTokenStore(IOperationalDbContext context, IScopeStore scopeStore, IClientStore clientStore)
     : base(context, TokenType.RefreshToken, scopeStore, clientStore)
 {
 }
 public ConsentStore(IOperationalDbContext context)
 {
     if (context == null) throw new ArgumentNullException("context");
     
     this.context = context;
 }
 public RefreshTokenStore(EntityFrameworkServiceOptions options, IOperationalDbContext context, IScopeStore scopeStore, IClientStore clientStore)
     : base(options, context, TokenType.RefreshToken, scopeStore, clientStore)
 {
 }
 public TokenHandleStore(IOperationalDbContext context, IScopeStore scopeStore, IClientStore clientStore)
     : base(context, Entities.TokenType.TokenHandle, scopeStore, clientStore)
 {
 }
 public AuthStor(IOperationalDbContext context, IScopeStore scopeStore, IClientStore clientStore) : base(context, scopeStore, clientStore)
 {
 }
 public AuthorizationCodeStore(IOperationalDbContext context, IScopeStore scopeStore, IClientStore clientStore)
     : base(context, TokenType.AuthorizationCode, scopeStore, clientStore)
 {
 }
 public TokenHandleStore(EntityFrameworkServiceOptions options, IOperationalDbContext context, IScopeStore scopeStore, IClientStore clientStore)
     : base(options, context, Entities.TokenType.TokenHandle, scopeStore, clientStore)
 {
 }
 public AuthorizationCodeStore(EntityFrameworkServiceOptions options, IOperationalDbContext context, IScopeStore scopeStore, IClientStore clientStore)
     : base(options, context, TokenType.AuthorizationCode, scopeStore, clientStore)
 {
 }