UNPKG

@jbrowse/plugin-authentication

Version:

JBrowse 2 Authentication

20 lines (19 loc) 693 B
import { ConfigurationSchema } from '@jbrowse/core/configuration'; import { BaseInternetAccountConfig } from '@jbrowse/core/pluggableElementTypes/models'; function x() { } const HTTPBasicConfigSchema = 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: BaseInternetAccountConfig, explicitlyTyped: true, }); export default HTTPBasicConfigSchema;