Joystick joins the catalog (Basic client auth, rotatesRefreshTokens), resolves identity by channel id, and is a streampixels managed-connection provider only: it is not an identity provider for the profile (ruling signin-waits-for-public-bot). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
35 lines
1.2 KiB
JSON
35 lines
1.2 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "heimdall.auth_begin_command.v1",
|
|
"type": "object",
|
|
"required": ["provider", "mode", "returnTo", "entitlementPolicy"],
|
|
"properties": {
|
|
"provider": { "enum": ["discord", "patreon", "github", "twitch", "youtube", "spotify", "joystick"] },
|
|
"mode": { "enum": ["sign_in", "link", "connect"] },
|
|
"returnTo": { "type": "string", "format": "uri" },
|
|
"entitlementPolicy": {
|
|
"oneOf": [
|
|
{
|
|
"type": "object",
|
|
"required": ["kind", "guildId", "allowedRoleIds"],
|
|
"properties": {
|
|
"kind": { "const": "discord_role_access" },
|
|
"guildId": { "type": "string", "minLength": 1 },
|
|
"allowedRoleIds": { "type": "array", "minItems": 1, "items": { "type": "string", "minLength": 1 }, "uniqueItems": true }
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": ["kind", "requiredTierTitle"],
|
|
"properties": {
|
|
"kind": { "const": "patreon_membership_access" },
|
|
"requiredTierTitle": { "type": "string", "minLength": 1 }
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|