Class: KeycloakAdmin::IdentityProviderRepresentation
- Inherits:
-
Representation
- Object
- Representation
- KeycloakAdmin::IdentityProviderRepresentation
- Defined in:
- lib/keycloak-admin/representation/identity_provider_representation.rb
Instance Attribute Summary collapse
-
#add_read_token_role_on_create ⇒ Object
Returns the value of attribute add_read_token_role_on_create.
-
#alias ⇒ Object
Returns the value of attribute alias.
-
#authenticate_by_default ⇒ Object
Returns the value of attribute authenticate_by_default.
-
#config ⇒ Object
Returns the value of attribute config.
-
#display_name ⇒ Object
Returns the value of attribute display_name.
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#first_broker_login_flow_alias ⇒ Object
Returns the value of attribute first_broker_login_flow_alias.
-
#internal_id ⇒ Object
Returns the value of attribute internal_id.
-
#link_only ⇒ Object
Returns the value of attribute link_only.
-
#provider_id ⇒ Object
Returns the value of attribute provider_id.
-
#store_token ⇒ Object
Returns the value of attribute store_token.
-
#trust_email ⇒ Object
Returns the value of attribute trust_email.
-
#update_profile_first_login_mode ⇒ Object
Returns the value of attribute update_profile_first_login_mode.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(alias_name, display_name, internal_id, provider_id, enabled, update_profile_first_login_mode, trust_email, store_token, add_read_token_role_on_create, authenticate_by_default, link_only, first_broker_login_flow_alias, config) ⇒ IdentityProviderRepresentation
constructor
A new instance of IdentityProviderRepresentation.
Methods inherited from Representation
Methods included from CamelJson
Constructor Details
#initialize(alias_name, display_name, internal_id, provider_id, enabled, update_profile_first_login_mode, trust_email, store_token, add_read_token_role_on_create, authenticate_by_default, link_only, first_broker_login_flow_alias, config) ⇒ IdentityProviderRepresentation
Returns a new instance of IdentityProviderRepresentation.
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
# File 'lib/keycloak-admin/representation/identity_provider_representation.rb', line 39 def initialize(alias_name, display_name, internal_id, provider_id, enabled, update_profile_first_login_mode, trust_email, store_token, add_read_token_role_on_create, authenticate_by_default, link_only, first_broker_login_flow_alias, config) @alias = alias_name @display_name = display_name @internal_id = internal_id @provider_id = provider_id @enabled = enabled @update_profile_first_login_mode = update_profile_first_login_mode @trust_email = trust_email @store_token = store_token @add_read_token_role_on_create = add_read_token_role_on_create @authenticate_by_default = authenticate_by_default @link_only = link_only @first_broker_login_flow_alias = first_broker_login_flow_alias @config = config || {} end |
Instance Attribute Details
#add_read_token_role_on_create ⇒ Object
Returns the value of attribute add_read_token_role_on_create.
3 4 5 |
# File 'lib/keycloak-admin/representation/identity_provider_representation.rb', line 3 def add_read_token_role_on_create @add_read_token_role_on_create end |
#alias ⇒ Object
Returns the value of attribute alias.
3 4 5 |
# File 'lib/keycloak-admin/representation/identity_provider_representation.rb', line 3 def alias @alias end |
#authenticate_by_default ⇒ Object
Returns the value of attribute authenticate_by_default.
3 4 5 |
# File 'lib/keycloak-admin/representation/identity_provider_representation.rb', line 3 def authenticate_by_default @authenticate_by_default end |
#config ⇒ Object
Returns the value of attribute config.
3 4 5 |
# File 'lib/keycloak-admin/representation/identity_provider_representation.rb', line 3 def config @config end |
#display_name ⇒ Object
Returns the value of attribute display_name.
3 4 5 |
# File 'lib/keycloak-admin/representation/identity_provider_representation.rb', line 3 def display_name @display_name end |
#enabled ⇒ Object
Returns the value of attribute enabled.
3 4 5 |
# File 'lib/keycloak-admin/representation/identity_provider_representation.rb', line 3 def enabled @enabled end |
#first_broker_login_flow_alias ⇒ Object
Returns the value of attribute first_broker_login_flow_alias.
3 4 5 |
# File 'lib/keycloak-admin/representation/identity_provider_representation.rb', line 3 def first_broker_login_flow_alias @first_broker_login_flow_alias end |
#internal_id ⇒ Object
Returns the value of attribute internal_id.
3 4 5 |
# File 'lib/keycloak-admin/representation/identity_provider_representation.rb', line 3 def internal_id @internal_id end |
#link_only ⇒ Object
Returns the value of attribute link_only.
3 4 5 |
# File 'lib/keycloak-admin/representation/identity_provider_representation.rb', line 3 def link_only @link_only end |
#provider_id ⇒ Object
Returns the value of attribute provider_id.
3 4 5 |
# File 'lib/keycloak-admin/representation/identity_provider_representation.rb', line 3 def provider_id @provider_id end |
#store_token ⇒ Object
Returns the value of attribute store_token.
3 4 5 |
# File 'lib/keycloak-admin/representation/identity_provider_representation.rb', line 3 def store_token @store_token end |
#trust_email ⇒ Object
Returns the value of attribute trust_email.
3 4 5 |
# File 'lib/keycloak-admin/representation/identity_provider_representation.rb', line 3 def trust_email @trust_email end |
#update_profile_first_login_mode ⇒ Object
Returns the value of attribute update_profile_first_login_mode.
3 4 5 |
# File 'lib/keycloak-admin/representation/identity_provider_representation.rb', line 3 def update_profile_first_login_mode @update_profile_first_login_mode end |
Class Method Details
.from_hash(hash) ⇒ Object
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/keycloak-admin/representation/identity_provider_representation.rb', line 17 def self.from_hash(hash) if hash.nil? nil else new( hash["alias"], hash["displayName"], hash["internalId"], hash["providerId"], hash["enabled"], hash["updateProfileFirstLoginMode"], hash["trustEmail"], hash["storeToken"], hash["addReadTokenRoleOnCreate"], hash["authenticateByDefault"], hash["linkOnly"], hash["firstBrokerLoginFlowAlias"], hash["config"] ) end end |