OAuthInternetAccount
Auto-generated config schema for the current JBrowse release — see the
config guide for concepts. Provided by the
authentication plugin.
View source.
Related links
- Extended by: DropboxOAuthInternetAccount
- Extended by: GoogleDriveOAuthInternetAccount
- State model: runtime API
- Base config: BaseInternetAccount
- Guide: Authentication
Config slots
OAuthInternetAccount is a shared base schema, not a type you name in a config.
Set these slots on one of the configs under Extended by above, each of which
lists them as inherited and shows the shape in its own example. Slot types
(fileLocation, frozen, ...) are explained in the
config slot types reference. Slots a base
configuration contributes are listed here too, so this table is the whole
surface.
| Slot | Description |
|---|---|
tokenTypestring = 'Bearer' | a custom name for a token to include in the header |
authEndpointstring = '' | the authorization code endpoint of the internet account |
tokenEndpointstring = '' | the token endpoint of the internet account |
needsPKCEboolean = false | boolean to indicate if the endpoint needs a PKCE code |
clientIdstring = '' | id for the OAuth application |
scopesstring = '' | optional scopes for the authorization call |
statestring = '' | optional state for the authorization call |
responseTypestring = 'code' | the type of response from the authorization endpoint. can be 'token' or 'code' |
| Inherited from BaseInternetAccount | 4 slots |
namestring = '' | descriptive name of the internet account |
descriptionstring = '' | a description of the internet account |
authHeaderstring = 'Authorization' | request header for credentials |
domainsstringArray = [] | array of valid domains the url can contain to use this account |