OAuthConnection
An account the app signed you in to, through a service your manifest declares in
oauth (see “The app: sign-in” in the integration kit guide). Never a token: ask
OAuth.token for one.
Properties
Section titled “Properties”account?
Section titled “account?”
optionalaccount?:string
Who it is, once you’ve said (OAuth.describe): an account or workspace id…
connectedAt
Section titled “connectedAt”connectedAt:
string
ISO 8601.
id:
string
label?
Section titled “label?”
optionallabel?:string
…and its name, as Settings shows it (“Acme”).
needsReconnect
Section titled “needsReconnect”needsReconnect:
boolean
The service stopped accepting it: offer Connect again.
scopes?
Section titled “scopes?”
optionalscopes?:string[]
What the service granted, when it said.