UNPKG

@jbrowse/plugin-authentication

Version:

JBrowse 2 Authentication

22 lines (21 loc) 784 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const configuration_1 = require("@jbrowse/core/configuration"); const models_1 = require("@jbrowse/core/pluggableElementTypes/models"); function x() { } const HTTPBasicConfigSchema = (0, configuration_1.ConfigurationSchema)('HTTPBasicInternetAccount', { tokenType: { description: 'a custom name for a token to include in the header', type: 'string', defaultValue: 'Basic', }, validateWithHEAD: { description: 'validate the token with a HEAD request before using it', type: 'boolean', defaultValue: true, }, }, { baseConfiguration: models_1.BaseInternetAccountConfig, explicitlyTyped: true, }); exports.default = HTTPBasicConfigSchema;