Axway · Schema

SessionInfo

API ManagementEnterpriseIntegrationSecurity

Properties

Name Type Description
connect.sid string Signed session ID.
deviceAuthRequired string Whether the user is still pending device authorization.
email string Email address of the signed-in user.
entitlements object Entitlements of the signed-in org.
expiry string Session expiry (if not accessed).
firstname string First name of the signed-in user.
from string Type of client the session was initiated by, e.g. web/cli
guid string GUID of the signed-in user.
idp string GUID of the Identity Provider used to authenticate the session.
lastname string Last name of the signed-in user.
org object
org_id string org_id of the signed-in org.
org_name string Name of the signed-in org.
orgs string List of orgs that the user belongs to
provider_org object Owning provider organization of the marketplace; included in consumer org sessions only
redirect string URL to redirect to after signing in.
role string Current role of the user signed-in with this session.
roles array List of roles the user is assigned on the signed-in org.
session string Encoded session.
sessionID string The session ID.
sid string Signed session ID.
teams object
user object
user_guid string GUID of the signed-in user.
username string Username of the user this session belongs to.
View JSON Schema on GitHub

JSON Schema

axway-sessioninfo-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SessionInfo",
  "title": "SessionInfo",
  "type": "object",
  "properties": {
    "connect.sid": {
      "type": "string",
      "description": "Signed session ID.",
      "example": "example_value"
    },
    "deviceAuthRequired": {
      "type": "string",
      "description": "Whether the user is still pending device authorization.",
      "example": "example_value"
    },
    "email": {
      "type": "string",
      "description": "Email address of the signed-in user.",
      "example": "[email protected]"
    },
    "entitlements": {
      "type": "object",
      "description": "Entitlements of the signed-in org.",
      "example": {}
    },
    "expiry": {
      "type": "string",
      "description": "Session expiry (if not accessed).",
      "example": "example_value"
    },
    "firstname": {
      "type": "string",
      "description": "First name of the signed-in user.",
      "example": "Example Name"
    },
    "from": {
      "type": "string",
      "description": "Type of client the session was initiated by, e.g. web/cli",
      "example": "example_value"
    },
    "guid": {
      "type": "string",
      "description": "GUID of the signed-in user.",
      "example": "example_value"
    },
    "idp": {
      "type": "string",
      "description": "GUID of the Identity Provider used to authenticate the session.",
      "example": "example_value"
    },
    "lastname": {
      "type": "string",
      "description": "Last name of the signed-in user.",
      "example": "Example Name"
    },
    "org": {
      "$ref": "#/components/schemas/Org"
    },
    "org_id": {
      "type": "string",
      "description": "org_id of the signed-in org.",
      "example": "507f1f77bcf86cd799439011"
    },
    "org_name": {
      "type": "string",
      "description": "Name of the signed-in org.",
      "example": "Example Name"
    },
    "orgs": {
      "type": "string",
      "description": "List of orgs that the user belongs to",
      "example": "example_value"
    },
    "provider_org": {
      "type": "object",
      "description": "Owning provider organization of the marketplace; included in consumer org sessions only",
      "properties": {
        "guid": {
          "type": "string",
          "format": "uuid",
          "description": "GUID identifier for the provider organization"
        },
        "name": {
          "type": "string",
          "description": "Name of the provider organization."
        },
        "org_id": {
          "type": "integer",
          "description": "Identifier for the provider organization"
        }
      },
      "example": {
        "guid": "example_value",
        "name": "Example Name",
        "org_id": 1
      }
    },
    "redirect": {
      "type": "string",
      "description": "URL to redirect to after signing in.",
      "example": "example_value"
    },
    "role": {
      "type": "string",
      "description": "Current role of the user signed-in with this session.",
      "enum": [
        "administrator",
        "developer",
        "auditor",
        "consumer"
      ],
      "example": "administrator"
    },
    "roles": {
      "type": "array",
      "description": "List of roles the user is assigned on the signed-in org.",
      "items": {
        "type": "string",
        "description": "The id of the role.",
        "enum": [
          "administrator",
          "developer",
          "auditor",
          "consumer",
          "usage_reporter",
          "api_central_admin"
        ]
      },
      "example": [
        "administrator"
      ]
    },
    "session": {
      "type": "string",
      "description": "Encoded session.",
      "example": "example_value"
    },
    "sessionID": {
      "type": "string",
      "description": "The session ID.",
      "example": "example_value"
    },
    "sid": {
      "type": "string",
      "description": "Signed session ID.",
      "example": "example_value"
    },
    "teams": {
      "$ref": "#/components/schemas/UserTeams"
    },
    "user": {
      "$ref": "#/components/schemas/User"
    },
    "user_guid": {
      "type": "string",
      "description": "GUID of the signed-in user.",
      "example": "example_value"
    },
    "username": {
      "type": "string",
      "description": "Username of the user this session belongs to.",
      "example": "Example Name"
    }
  }
}