protected BaseTokenStore(DapperServiceOptions options, TokenType tokenType, IScopeStore scopeStore, IClientStore clientStore) { this.options = options ?? throw new ArgumentNullException("options"); this.tokenType = tokenType; this.scopeStore = scopeStore ?? throw new ArgumentNullException("scopeStore"); this.clientStore = clientStore ?? throw new ArgumentNullException("clientStore"); }
protected BaseStore(DapperServiceOptions options) { if (options == null) { throw new ArgumentNullException(nameof(options)); } Options = options; }
public IdentityServerDapperExtensionsConfiguration(DapperServiceOptions option, ISqlDialect dialect) { this._option = option ?? throw new ArgumentNullException("option"); DefaultMapper = typeof(AutoClassMapper <>); MappingAssemblies = new List <Assembly>(); Dialect = dialect; }
public ClientConfigurationCorsPolicyRegistration(DapperServiceOptions options) { if (options == null) { throw new ArgumentNullException("options"); } this.AdditionalRegistrations.Add(new Registration <DapperServiceOptions>(resolver => options)); }
protected BaseTokenStore(DapperServiceOptions options, TokenType tokenType, IScopeStore scopeStore, IClientStore clientStore) { if (options == null) { throw new ArgumentNullException(nameof(options)); } if (scopeStore == null) { throw new ArgumentNullException(nameof(scopeStore)); } if (clientStore == null) { throw new ArgumentNullException(nameof(clientStore)); } Options = options; TokenType = tokenType; ScopeStore = scopeStore; ClientStore = clientStore; }
public ConsentStore(DapperServiceOptions options) : base(options) { }
public RefreshTokenStore(DapperServiceOptions options, IScopeStore scopeStore, IClientStore clientStore) : base(options, TokenType.RefreshToken, scopeStore, clientStore) { }
public ClientConfigurationCorsPolicyService(DapperServiceOptions options) : base(options) { }
public AuthorizationCodeStore(DapperServiceOptions options, IScopeStore scopeStore, IClientStore clientStore) : base(options, TokenType.AuthorizationCode, scopeStore, clientStore) { }
public ClientConfigurationCorsPolicyService(DapperServiceOptions options) { this.options = options ?? throw new ArgumentNullException("options"); }
public ScopeStore(DapperServiceOptions options) : base(options) { }
public ClientStore(DapperServiceOptions options) { this.options = options ?? throw new ArgumentNullException("options"); }
public TokenHandleStore(DapperServiceOptions options, IScopeStore scopeStore, IClientStore clientStore) : base(options, Entities.TokenType.TokenHandle, scopeStore, clientStore) { }