[auth.ticket.verify]

auth.ticket.verify is a slot in the auth namespace, in Hyperlambda, the language of Magic Cloud. Verifies that the current user is authenticated and optionally in one of the specified roles.

  • Value (role-list), optional: Optional comma-separated roles to require

Guide

How to use auth.ticket.verify

JSON declaration

This is the complete declaration of auth.ticket.verify, as the running system describes it. It is also published as slot.json.

JSON declaration
{
  "name": "auth.ticket.verify",
  "description": "Verifies that the current user is authenticated and optionally in one of the specified roles",
  "signature": {
    "input": {
      "kind": "role-list",
      "description": "Optional comma-separated roles to require",
      "required": false,
      "mode": "ValueOrExpression"
    }
  }
}

← auth.ticket.refresh all auth.* slots auth.token.read →