mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-58220 oauth2: More help buttons
Add help for system account connections and discovery.
This commit is contained in:
parent
c21a66e40a
commit
738c4a2a73
@ -110,6 +110,8 @@ class renderer extends plugin_renderer_base {
|
||||
$discovered = '-';
|
||||
}
|
||||
}
|
||||
$discovered .= ' ' . $OUTPUT->help_icon('discovered', 'tool_oauth2');
|
||||
|
||||
$discoverystatuscell = new html_table_cell($discovered);
|
||||
|
||||
// Connected.
|
||||
@ -128,6 +130,7 @@ class renderer extends plugin_renderer_base {
|
||||
$authlink = html_writer::link($authurl, $icon);
|
||||
$systemauth .= ' ' . $authlink;
|
||||
}
|
||||
$systemauth .= ' ' . $OUTPUT->help_icon('systemaccountconnected', 'tool_oauth2');
|
||||
|
||||
$systemauthstatuscell = new html_table_cell($systemauth);
|
||||
|
||||
|
@ -23,6 +23,8 @@
|
||||
*/
|
||||
|
||||
$string['pluginname'] = 'OAuth 2 Services';
|
||||
$string['discovered_help'] = 'Discovered means that the OAuth2 endpoints could be automatically determined from the base url for the OAuth service. Not all services are required to be "discovered", but if they are not, then the endpoints and user mapping information will need to be entered manually.';
|
||||
$string['systemaccountconnected_help'] = 'System accounts are used to provide advanced functionality for plugins. They are not required for login functionality only, but other plugins using the OAuth service may offer a reduced set of features if the system account has not been connected. For example repositories cannot support "controlled links" without a system account to perform file operations.';
|
||||
$string['editissuer'] = 'Edit identity issuer: {$a}';
|
||||
$string['editendpoint'] = 'Edit endpoint: {$a->endpoint} for issuer {$a->issuer}';
|
||||
$string['endpointsforissuer'] = 'Endpoints for issuer: {$a}';
|
||||
|
Loading…
x
Reference in New Issue
Block a user