Class: SsoLdapRestServer
- Defined in:
- lib/models/sso_ldap_rest_server.rb
Overview
Interact with the Ldap Restful API for authentication
Instance Method Summary collapse
-
#display_name ⇒ Object
Display name for this server, should be overriden by concrete implementations.
-
#user_profile(user_id) ⇒ Object
Using the appropriate SSO server configuration obtain the the user profile address.
Methods included from App47Logger
log_debug, #log_debug, log_error, #log_error, log_exception, log_message, #log_message, #log_warn, log_warn
Instance Method Details
#display_name ⇒ Object
Display name for this server, should be overriden by concrete implementations.
23 24 25 |
# File 'lib/models/sso_ldap_rest_server.rb', line 23 def display_name 'LDAP Rest API Server' end |
#user_profile(user_id) ⇒ Object
Using the appropriate SSO server configuration obtain the the user profile address
31 32 33 |
# File 'lib/models/sso_ldap_rest_server.rb', line 31 def user_profile(user_id) account.users.find(user_id) end |