Skip to main content

GoogleDriveOAuthInternetAccount

Note: this document is automatically generated from mobx-state-tree objects in our source code. See Core concepts and intro to pluggable elements for more info

Also note: this document represents the state model API for the current released version of jbrowse. If you are not using the current version, please cross reference the markdown files in our repo of the checked out git tag

Source code

GitHub page

Docs

GoogleDriveOAuthInternetAccount - Properties

property: type

// type signature
ISimpleType<"GoogleDriveOAuthInternetAccount">
// code
type: types.literal('GoogleDriveOAuthInternetAccount')

property: configuration

// type signature
ConfigurationSchemaType<{ authEndpoint: { description: string; type: string; defaultValue: string; }; scopes: { description: string; type: string; defaultValue: string; }; domains: { description: string; type: string; defaultValue: string[]; }; responseType: { ...; }; }, ConfigurationSchemaOptions<...>>
// code
configuration: ConfigurationReference(configSchema)

GoogleDriveOAuthInternetAccount - Getters

getter: toggleContents

The FileSelector icon for Google drive

// type
Element

getter: selectorLabel

// type
string

GoogleDriveOAuthInternetAccount - Methods

method: getFetcher

// type signature
getFetcher: (location?: UriLocation) => (input: RequestInfo, init?: RequestInitWithMetadata) => Promise<Response>

method: openLocation

// type signature
openLocation: (location: UriLocation) => GoogleDriveFile

GoogleDriveOAuthInternetAccount - Actions

action: validateToken

// type signature
validateToken: (token: string, location: UriLocation) => Promise<string>