Class: SsoServer
- Inherits:
-
Object
- Object
- SsoServer
- Includes:
- App47Logger, Mongoid::Document, Mongoid::Timestamps
- Defined in:
- lib/models/sso_server.rb
Overview
Base server container for an account which can have 0..N sso servers configured.
Direct Known Subclasses
SsoDirectoryServer, SsoLdapRestServer, SsoOauthServer, SsoSamlV2Server
Instance Method Summary collapse
-
#display_name ⇒ Object
Display name for this server, should be overriden by concrete implementations.
-
#user_profile(_code) ⇒ Object
Using the appropriate SSO server configuration obtain the the user profile address, this should be implemented by the child class.
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.
27 28 29 |
# File 'lib/models/sso_server.rb', line 27 def display_name 'SSO Server' end |
#user_profile(_code) ⇒ Object
Using the appropriate SSO server configuration obtain the the user profile address, this should be implemented by the child class.
35 36 37 |
# File 'lib/models/sso_server.rb', line 35 def user_profile(_code) raise 'Failed to retrieve user profile from provider' end |