Sha256: f7084f640edd251d9af5dd1083da9c6f942e32781f6184c1108b4a5e3902f2ec

Contents?: true

Size: 944 Bytes

Versions: 1

Compression:

Stored size: 944 Bytes

Contents

{
  "type": "object",
  "required" : [
    "client_id",
    "id",
    "active?",
    "secret",
    "owner",
    "random_token"
  ],
  "properties": {
    "client_id" : { "type" : "string" },
    "id" : { "type" : "string" },
    "active?" : { "type" : "boolean" },
    "revoked_at" : { "type": ["string", "null"], "format": "date-time" },
    "revoke_reason" : { "type": ["string", "null"] },
    "secret" : { "type" : "string" },
    "random_token" : { "type" : "string" },
    "owner" : {
      "type" : "object",
      "required" : [
        "id",
        "name",
        "email",
        "first_name",
        "last_name",
        "lang"
      ],
      "properties" : {
        "id" : { "type" : "integer" },
        "name" : { "type" : "string" },
        "email" : { "type" : "string" },
        "first_name" : { "type" : "string" },
        "last_name" : { "type" : "string" },
        "lang" : { "type" : "string" }
      }
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
doorkeeper_sso-0.4.6 spec/api/schemas/session.json