IsTokenAuth returns true if the authentication manager is configured for API token authentication. This method helps distinguish between password-based and token-based authentication modes, which can be useful for conditional logic or debugging. Returns true for API token authentication, false for
()
| 390 | // log.Println("Using password authentication") |
| 391 | // } |
| 392 | func (am *AuthManager) IsTokenAuth() bool { |
| 393 | return am.token != "" |
| 394 | } |
no outgoing calls