waft.agent_deployment.token_manager module¶
- class waft.agent_deployment.token_manager.TokenManager(token_path: Path | None = None)¶
Bases:
objectManages authentication tokens for WAFT Agent.
- get_or_create_token() str¶
Get existing token or create a new one if it doesn’t exist.
- Returns:
The authentication token as a string
- token_exists() bool¶
Check if a token file exists.
- Returns:
True if token file exists, False otherwise