UNPKG

@jbrowse/plugin-authentication

Version:

JBrowse 2 Authentication

73 lines (72 loc) 2.03 kB
import type { Instance } from 'mobx-state-tree'; declare const OAuthConfigSchema: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{ tokenType: { description: string; type: string; defaultValue: string; }; authEndpoint: { description: string; type: string; defaultValue: string; }; tokenEndpoint: { description: string; type: string; defaultValue: string; }; needsPKCE: { description: string; type: string; defaultValue: boolean; }; clientId: { description: string; type: string; defaultValue: string; }; scopes: { description: string; type: string; defaultValue: string; }; state: { description: string; type: string; defaultValue: string; }; responseType: { description: string; type: string; defaultValue: string; }; }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{ name: { description: string; type: string; defaultValue: string; }; description: { description: string; type: string; defaultValue: string; }; authHeader: { description: string; type: string; defaultValue: string; }; tokenType: { description: string; type: string; defaultValue: string; }; domains: { description: string; type: string; defaultValue: never[]; }; }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "internetAccountId">>, undefined>>; export type OAuthInternetAccountConfigModel = typeof OAuthConfigSchema; export type OAuthInternetAccountConfig = Instance<OAuthInternetAccountConfigModel>; export default OAuthConfigSchema;