Creates an instance of the ElementsClient.
The configuration object for the Permit SDK.
The logger instance for logging.
Ensure that the API Key has the necessary permissions to successfully call the API endpoint. Note that this check is not foolproof, and the API may still throw 401.
The required API Key Access level for the endpoint.
PermitContextError If the currently set API key access level does not match the required access level.
Ensure that the API context matches the required endpoint context.
The required API context level for the endpoint.
PermitContextError If the currently set API context level does not match the required context level.
Logs in as a user in the context of a specific tenant.
The login data containing the user key and tenant key.
The embedded login authentication session data.
PermitApiError If the API returns an error HTTP status code.
PermitContextError If the configured ApiContext does not match the required endpoint context.
Generated using TypeDoc
API client for interacting with the Permit Elements API.