Class: SyncAttrWithAuth0::Configuration
- Inherits:
-
Object
- Object
- SyncAttrWithAuth0::Configuration
- Defined in:
- lib/sync_attr_with_auth0/configuration.rb
Overview
SyncAttrWithAuth0 configuration class. This is used by SyncAttrWithAuth0 to provide configuration settings.
Instance Attribute Summary collapse
-
#auth0_client_id ⇒ Object
Returns the value of attribute auth0_client_id.
-
#auth0_client_secret ⇒ Object
Returns the value of attribute auth0_client_secret.
-
#auth0_global_client_id ⇒ Object
Returns the value of attribute auth0_global_client_id.
-
#auth0_global_client_secret ⇒ Object
Returns the value of attribute auth0_global_client_secret.
-
#auth0_namespace ⇒ Object
Returns the value of attribute auth0_namespace.
-
#auth0_uid_attribute ⇒ Object
Returns the value of attribute auth0_uid_attribute.
-
#connection_name ⇒ Object
Returns the value of attribute connection_name.
-
#email_attribute ⇒ Object
Returns the value of attribute email_attribute.
-
#email_verified_attribute ⇒ Object
Returns the value of attribute email_verified_attribute.
-
#family_name_attribute ⇒ Object
Returns the value of attribute family_name_attribute.
-
#given_name_attribute ⇒ Object
Returns the value of attribute given_name_attribute.
-
#name_attribute ⇒ Object
Returns the value of attribute name_attribute.
-
#password_attribute ⇒ Object
Returns the value of attribute password_attribute.
-
#picture_attribute ⇒ Object
Returns the value of attribute picture_attribute.
-
#search_connections ⇒ Object
Returns the value of attribute search_connections.
-
#verify_password_attribute ⇒ Object
Returns the value of attribute verify_password_attribute.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/sync_attr_with_auth0/configuration.rb', line 38 def initialize @auth0_global_client_id = ENV['AUTH0_GLOBAL_CLIENT_ID'] @auth0_global_client_secret = ENV['AUTH0_GLOBAL_CLIENT_SECRET'] @auth0_client_id = ENV['AUTH0_CLIENT_ID'] @auth0_client_secret = ENV['AUTH0_CLIENT_SECRET'] @auth0_namespace = ENV['AUTH0_NAMESPACE'] @auth0_uid_attribute = :auth0_uid @name_attribute = :name @given_name_attribute = :given_name @family_name_attribute = :family_name @email_attribute = :email @password_attribute = :password @email_verified_attribute = :email_verified @verify_password_attribute = :verify_password @picture_attribute = :picture @connection_name = 'Username-Password-Authentication' @search_connections = [] end |
Instance Attribute Details
#auth0_client_id ⇒ Object
Returns the value of attribute auth0_client_id.
30 31 32 |
# File 'lib/sync_attr_with_auth0/configuration.rb', line 30 def auth0_client_id @auth0_client_id end |
#auth0_client_secret ⇒ Object
Returns the value of attribute auth0_client_secret.
30 31 32 |
# File 'lib/sync_attr_with_auth0/configuration.rb', line 30 def auth0_client_secret @auth0_client_secret end |
#auth0_global_client_id ⇒ Object
Returns the value of attribute auth0_global_client_id.
30 31 32 |
# File 'lib/sync_attr_with_auth0/configuration.rb', line 30 def auth0_global_client_id @auth0_global_client_id end |
#auth0_global_client_secret ⇒ Object
Returns the value of attribute auth0_global_client_secret.
30 31 32 |
# File 'lib/sync_attr_with_auth0/configuration.rb', line 30 def auth0_global_client_secret @auth0_global_client_secret end |
#auth0_namespace ⇒ Object
Returns the value of attribute auth0_namespace.
30 31 32 |
# File 'lib/sync_attr_with_auth0/configuration.rb', line 30 def auth0_namespace @auth0_namespace end |
#auth0_uid_attribute ⇒ Object
Returns the value of attribute auth0_uid_attribute.
30 31 32 |
# File 'lib/sync_attr_with_auth0/configuration.rb', line 30 def auth0_uid_attribute @auth0_uid_attribute end |
#connection_name ⇒ Object
Returns the value of attribute connection_name.
30 31 32 |
# File 'lib/sync_attr_with_auth0/configuration.rb', line 30 def connection_name @connection_name end |
#email_attribute ⇒ Object
Returns the value of attribute email_attribute.
30 31 32 |
# File 'lib/sync_attr_with_auth0/configuration.rb', line 30 def email_attribute @email_attribute end |
#email_verified_attribute ⇒ Object
Returns the value of attribute email_verified_attribute.
30 31 32 |
# File 'lib/sync_attr_with_auth0/configuration.rb', line 30 def email_verified_attribute @email_verified_attribute end |
#family_name_attribute ⇒ Object
Returns the value of attribute family_name_attribute.
30 31 32 |
# File 'lib/sync_attr_with_auth0/configuration.rb', line 30 def family_name_attribute @family_name_attribute end |
#given_name_attribute ⇒ Object
Returns the value of attribute given_name_attribute.
30 31 32 |
# File 'lib/sync_attr_with_auth0/configuration.rb', line 30 def given_name_attribute @given_name_attribute end |
#name_attribute ⇒ Object
Returns the value of attribute name_attribute.
30 31 32 |
# File 'lib/sync_attr_with_auth0/configuration.rb', line 30 def name_attribute @name_attribute end |
#password_attribute ⇒ Object
Returns the value of attribute password_attribute.
30 31 32 |
# File 'lib/sync_attr_with_auth0/configuration.rb', line 30 def password_attribute @password_attribute end |
#picture_attribute ⇒ Object
Returns the value of attribute picture_attribute.
30 31 32 |
# File 'lib/sync_attr_with_auth0/configuration.rb', line 30 def picture_attribute @picture_attribute end |
#search_connections ⇒ Object
Returns the value of attribute search_connections.
30 31 32 |
# File 'lib/sync_attr_with_auth0/configuration.rb', line 30 def search_connections @search_connections end |
#verify_password_attribute ⇒ Object
Returns the value of attribute verify_password_attribute.
30 31 32 |
# File 'lib/sync_attr_with_auth0/configuration.rb', line 30 def verify_password_attribute @verify_password_attribute end |