Open C0D3D3V opened 1 year ago
The moodle app checks if the moodle mobile API is enabled and which type of authentication is required. We can copy this behavior so that we can inform the user about the options.
https://github.com/moodlehq/moodleapp/blob/becd020329f7b63051a3b135f9ff5dbc92423f2c/src/core/services/sites.ts#L406-L460
https://github.com/moodlehq/moodleapp/blob/becd020329f7b63051a3b135f9ff5dbc92423f2c/src/core/features/login/services/login-helper.ts#L924-L1039
The moodle app checks if the moodle mobile API is enabled and which type of authentication is required. We can copy this behavior so that we can inform the user about the options.