diff --git a/src/google/adk/auth/auth_credential.py b/src/google/adk/auth/auth_credential.py index 6160edcc02..67005780f0 100644 --- a/src/google/adk/auth/auth_credential.py +++ b/src/google/adk/auth/auth_credential.py @@ -220,7 +220,7 @@ class AuthCredential(BaseModelWithConfig): Examples: API Key Auth AuthCredential( auth_type=AuthCredentialTypes.API_KEY, - api_key="1234", + api_key="YOUR_API_KEY", ) Example: HTTP Auth @@ -228,7 +228,7 @@ class AuthCredential(BaseModelWithConfig): auth_type=AuthCredentialTypes.HTTP, http=HttpAuth( scheme="basic", - credentials=HttpCredentials(username="user", password="password"), + credentials=HttpCredentials(username="YOUR_USERNAME", password="YOUR_PASSWORD"), ), ) @@ -237,7 +237,7 @@ class AuthCredential(BaseModelWithConfig): auth_type=AuthCredentialTypes.HTTP, http=HttpAuth( scheme="bearer", - credentials=HttpCredentials(token="eyAkaknabna...."), + credentials=HttpCredentials(token="YOUR_TOKEN"), ), ) @@ -245,8 +245,8 @@ class AuthCredential(BaseModelWithConfig): AuthCredential( auth_type=AuthCredentialTypes.OAUTH2, oauth2=OAuth2Auth( - client_id="1234", - client_secret="secret", + client_id="YOUR_CLIENT_ID", + client_secret="YOUR_CLIENT_SECRET", ), ) @@ -254,8 +254,8 @@ class AuthCredential(BaseModelWithConfig): AuthCredential( auth_type=AuthCredentialTypes.OPEN_ID_CONNECT, oauth2=OAuth2Auth( - client_id="1234", - client_secret="secret", + client_id="YOUR_CLIENT_ID", + client_secret="YOUR_CLIENT_SECRET", redirect_uri="https://example.com", scopes=["scope1", "scope2"], ), @@ -264,7 +264,7 @@ class AuthCredential(BaseModelWithConfig): Example: Auth with resource reference AuthCredential( auth_type=AuthCredentialTypes.API_KEY, - resource_ref="projects/1234/locations/us-central1/resources/resource1", + resource_ref="projects/YOUR_PROJECT_ID/locations/us-central1/resources/YOUR_RESOURCE_ID", ) """