Package com.google.genai
Class Tokens
-
- All Implemented Interfaces:
public class TokensProvides methods for managing the ephemeral auth tokens. The tokens module is experimental.
-
-
Method Summary
Modifier and Type Method Description AuthTokencreate(CreateAuthTokenConfig config)Creates an ephemeral auth token resource. -
-
Method Detail
-
create
AuthToken create(CreateAuthTokenConfig config)
Creates an ephemeral auth token resource.
- Parameters:
config- A CreateAuthTokenConfig for configuring the create request.- Returns:
A AuthToken object that contains the info of the created resource.
-
-
-
-