PluginAuthorizationVariant
HTTP API schema
← HTTP API referenceView source specification ↗
One way of authorizing a plugin, and what it needs from the customer.
PluginAuthorizationVariant fields
- id
stringRequired The variant ID.
- credentialSource
stringRequired Whether Port OS or the customer owns the OAuth client.
Allowed values: PORT_OS, CUSTOMER.
- regionalizations
array<string>Required IDs of the regionalizations this variant supports.
- Item
string
- Item
- defaultRegionalization
string ID of the regionalization to preselect for this variant. Always one of this variant's regionalizations. Present whenever the variant offers more than one.
- secretRoles
array<AuthLinkSecretRole>Required Secret roles a link of this variant needs.
- ItemAuthLinkSecretRole
secretRoles[]: Reference AuthLinkSecretRole
- providerConfiguration
stringRequired The provider configuration this variant requires.
Allowed values: NONE, NEST_DEVICE_ACCESS.
- guideSection
string Anchor of the documentation section describing how to set this variant up.
- eventsAuthorizationVariantEventsRequired
events: Reference AuthorizationVariantEvents