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-10/

{
  "context": "This criteria evaluates how well the engineer uses google-auth-oauthlib's Interactive Authentication capabilities to simplify OAuth credential obtaining in interactive environments. The focus is on proper use of the get_user_credentials function and understanding of the returned credentials structure.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses get_user_credentials",
      "description": "Uses google_auth_oauthlib.helpers.get_user_credentials() function as the primary mechanism for obtaining credentials interactively",
      "max_score": 40
    },
    {
      "name": "Correct parameter passing",
      "description": "Correctly passes client_id, client_secret, and scopes parameters to get_user_credentials()",
      "max_score": 20
    },
    {
      "name": "Returns proper credentials",
      "description": "Returns the google.oauth2.credentials.Credentials object obtained from get_user_credentials() without unnecessary modification",
      "max_score": 15
    },
    {
      "name": "Handles multiple scopes",
      "description": "Correctly passes a list of multiple scopes to get_user_credentials() and the returned credentials support all requested scopes",
      "max_score": 15
    },
    {
      "name": "Credentials structure",
      "description": "Returned credentials contain all required attributes (token, refresh_token, token_uri, client_id, client_secret) that are accessible for API usage",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

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

tile.json