bosch_camera_token_status
Check the current bearer token's validity, expiry time, and associated account email. Determines if the token is expired or missing locally without a network call.
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 |