User self-care template files

These files support user self-care tasks.

User self-care template files

These files support user self-care tasks.

Table 1. Default template files in the mga/ directory
Page name File name and macros Description
Common User Profile Management JavaScript mga/user/mgmt/common.js Used by one-time password pages and by device management pages. Contains functions and properties that are used for making calls to the user self-care REST services.
Device Attributes mga/user/mgmt/device/device_attributes.html Enables or disable devices. Renames or removes device. Displays all of the attributes for a device.

For more information, see Managing your registered devices.

Device Attributes JavaScript mga/user/mgmt/device/device_attributes.js Processes values that are entered in the device_attributes.html template
Device Selection mga/user/mgmt/device/device_selection.html Displays device name, status (enabled or disabled), and time of last activity.

For more information, see Managing your registered devices.

Device Selection JavaScript mga/user/mgmt/device/device_selection.js Processes data to display in the device_selections.html template
Authorization Grant mga/user/mgmt/device/grant_attributes.html Enables or disables an OAuth 2.0 authorization grant. Removes an OAuth 2.0 authorization grant. Displays the OAuth 2.0 tokens and attributes of an authorization grant. For more information, see Managing OAuth 2.0 Authorization Grants.
Authorization Grants JavaScript mga/user/mgmt/device/grant-attributes.js Processes data to display in the grant_attributes.html template.
HMAC OTP Shared Key mga/user/mgmt/otp/otp.html Resets TOTP and HOTP Secret Key.

For more information, see Managing OTP secret keys.

HMAC OTP Shared Key JavaScript mga/user/mgmt/otp/otp.js Resets TOTP and HOTP Secret Key.
Knowledge Questions management mga/user/mgmt/questions/user_questions.html
Macros:
  • @USERNAME @
  • @MAX_STORED_QUESTIONS@
Displayed for the user to manage their knowledge questions. The user can select pre-configured questions or write their own questions.
Knowledge Questions JavaScript functions mga /user/mgmt/questions/user_questions.js Consists of the JavaScript functions that:
  • Display the knowledge questions.
  • Allow the user to manage their knowledge questions.