bosch_camera_token_status
Check the stored bearer token's validity, expiry, and account email to verify authentication status before accessing camera controls.
Instructions
Return the current bearer token validity, expiry, and account email.
Parses the JWT exp and email/preferred_username claims from the
stored bearer token without making a network call.
Returns {valid, expires_in_min, email}.
valid=False when the token is expired or missing.
expires_in_min is negative when already expired.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Email/preferred_username from JWT claims | ||
| valid | Yes | True if the token is not expired | |
| expires_in_min | No | Minutes until expiry (negative = already expired); None if undecodable |