Google Authentication Library - oauthlib integration for OAuth 2.0 flows.
83
{
"context": "This criteria evaluates how well the engineer uses google-auth-oauthlib to implement OAuth 2.0 credential management, specifically focusing on the Credentials Access capability which involves converting OAuth sessions to Google credentials objects and creating authenticated sessions for API requests.",
"type": "weighted_checklist",
"checklist": [
{
"name": "InstalledAppFlow Usage",
"description": "Uses google_auth_oauthlib.flow.InstalledAppFlow.from_client_secrets_file() to create the OAuth flow from client secrets file",
"max_score": 25
},
{
"name": "Local Server Flow",
"description": "Uses InstalledAppFlow.run_local_server() method with appropriate port parameter to execute the OAuth authorization flow with a local callback server",
"max_score": 20
},
{
"name": "Credentials Persistence",
"description": "Properly saves credentials to disk by serializing the Credentials object (typically using to_json() or similar) and loads them back when they exist",
"max_score": 15
},
{
"name": "Credentials Object Access",
"description": "Correctly accesses the credentials property of the Flow object (flow.credentials) after running the OAuth flow to obtain google.oauth2.credentials.Credentials",
"max_score": 20
},
{
"name": "AuthorizedSession Creation",
"description": "Creates google.auth.transport.requests.AuthorizedSession from the Credentials object to provide an authenticated HTTP session for API requests",
"max_score": 20
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-google-auth-oauthlibevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10