This helper function initializes an Opal object, a subclass of LMS,
representing a connection to the Opal Learning Management System (LMS).
Arguments
- api_user
A character string specifying the API username.
- endpoint
A character string specifying the API endpoint for the LMS.
- credential_id
An optional name for the credential set. By default, rqti derives the credential service from
endpoint, while retaining the legacyrqtiopalservice as a fallback.RQTI_API_CREDENTIAL_IDor an explicit value overrides automatic endpoint-based naming.
Value
An object of class Opal, inheriting from LMS,
which can be used to interact with the Opal LMS API.
Details
Interactive first-time setup still prompts for a username and
password when neither endpoint-specific nor legacy credentials exist. A
legacy rqtiopal entry is otherwise used as a fallback. Use
set_opal_credentials() when an endpoint needs a different password.