2.1.1 Login object

Represents a user's login.

Example

{
  "source": {
    "avatar": {
      "type": "image/jpeg",
      "url": "https://www.drillster.com/bin/avatar/26048fc1507d534df480a9bedd8c38f474754f6f"
    },
    "id": "3HCCPnI-XCxg0dsBC2eGS_",
    "name": "Acme Inc.",
    "type": "ORGANIZATION"
  },
  "user": {
    "avatar": {
      "type": "image/jpeg",
      "url": "https://www.drillster.com/bin/avatar/4058715f084fed1de7e4e469c37dc138dc443905"
    },
    "id": "jane@example.com",
    "name": "Jane Doe",
    "type": "USER"
  }
}

Fields

Field Type Description
user
required
2.1.1 User object Represents the authenticated user.
source
optional
2.1.1 Organization object Represents an optional source of this login. If a source is present, it means that an access token was requested by the organization on behalf of the authenticated user.