CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-google-auth-oauthlib

Google Authentication Library - oauthlib integration for OAuth 2.0 flows.

83

1.05x
Overview
Eval results
Files

rubric.jsonevals/scenario-9/

{
  "context": "This evaluation assesses how effectively the engineer uses google-auth-oauthlib to implement OAuth 2.0 token exchange functionality. The focus is on proper usage of the Flow class, authorization URL generation, and token exchange methods provided by the package.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Flow Creation",
      "description": "Uses google_auth_oauthlib.flow.Flow.from_client_config() to create a Flow instance from the client configuration dictionary",
      "max_score": 25
    },
    {
      "name": "Authorization URL Generation",
      "description": "Uses the Flow.authorization_url() method to generate the authorization URL and state parameter",
      "max_score": 20
    },
    {
      "name": "Token Fetch",
      "description": "Uses the Flow.fetch_token() method with authorization_response parameter to exchange the authorization code for tokens",
      "max_score": 25
    },
    {
      "name": "Credentials Access",
      "description": "Accesses credentials through Flow.credentials property to retrieve the google.oauth2.credentials.Credentials object",
      "max_score": 20
    },
    {
      "name": "Scope Configuration",
      "description": "Properly passes scopes parameter when creating the Flow instance to specify requested OAuth 2.0 permissions",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-google-auth-oauthlib

tile.json