Add token info hook

Created on 26 May 2025, 13 days ago

Problem/Motivation

This adds the token information hook to the token hooks class.

Steps to reproduce

See parent issue.

Proposed resolution

This requires 📌 Add class for token hooks Active to be merged.

This step adds a hook class with attributes for handling token hooks.

Remaining tasks

  1. Add a function in the TokenHooks class, tokenInfo. This hook does not require any parameters.
  2. Add an attribute, Hook('token_info').
  3. In tokenInfo, build an array containing the following (ensuring appropriate elements are translatable), and return it.
    • types:
      • verify_email:
        • name: "Verify Email"
        • description: "Tokens for email verification."
    • tokens
      • url:
        • name: "URL"
        • description: "Url to verify email by loging user in.

User interface changes

None

API changes

None

Data model changes

None

📌 Task
Status

Active

Version

1.1

Component

Code

Created by

🇮🇪Ireland lostcarpark

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024