Scope

pydantic model gafaelfawr.models.auth.Scope

A known token scope.

Parameters:

data (Any)

Show JSON schema
{
   "title": "Scope",
   "description": "A known token scope.",
   "type": "object",
   "properties": {
      "name": {
         "examples": [
            "user:token"
         ],
         "title": "Scope name",
         "type": "string"
      },
      "description": {
         "examples": [
            "Can create and modify user tokens"
         ],
         "title": "Scope description",
         "type": "string"
      }
   },
   "required": [
      "name",
      "description"
   ]
}

Fields:
field description: str [Required]
field name: str [Required]