@jbrowse/plugin-authentication
Version:
JBrowse 2 Authentication
15 lines (14 loc) • 551 B
JavaScript
import { ConfigurationSchema } from '@jbrowse/core/configuration';
import { BaseInternetAccountConfig } from '@jbrowse/core/pluggableElementTypes/models';
function x() { }
const ExternalTokenConfigSchema = ConfigurationSchema('ExternalTokenInternetAccount', {
validateWithHEAD: {
description: 'validate the token with a HEAD request before using it',
type: 'boolean',
defaultValue: true,
},
}, {
baseConfiguration: BaseInternetAccountConfig,
explicitlyTyped: true,
});
export default ExternalTokenConfigSchema;