auth_status
Check whether a Bhoonidhi login is ready for downloads and cart, returning authenticated status or guidance to log in. Use before download or cart actions to confirm access.
Instructions
Report whether a Bhoonidhi login is configured for downloads and cart.
Never asks for or returns a password or token. If credentials are set in the server's environment (BHOONIDHI_USERNAME / BHOONIDHI_PASSWORD) it establishes the session so the answer matches what a download or cart action would find. Returns authenticated=True with the username when a usable session exists, or authenticated=False with guidance to log in ('bhd auth login' out of band, or set those environment variables). Call this before download or cart actions to tell the user if a login is needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||