Auth Functions¶
-
class
ai.backend.client.auth.
Auth
[소스]¶ Provides the function interface for login session management and authorization.
-
classmethod await
login
(user_id, password)[소스]¶ Log-in into the endpoint with the given user ID and password. It creates a server-side web session and return a dictionary with
"authenticated"
boolean field and JSON-encoded raw cookie data.- 반환 형식
-
classmethod await