finish_authentication
Complete Trakt login by exchanging the approved device code for an access token, finishing the authentication flow started earlier.
Instructions
Exchange an approved device code for a stored token.
Args: device_code: The device_code returned by start_authentication. wait_seconds: How long to keep polling while you approve in the browser. 0 checks once and reports whether approval is still pending, which is the better default for an interactive session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_code | Yes | ||
| wait_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |