Class: KeycloakAdmin::FederatedIdentityRepresentation
- Inherits:
-
Representation
- Object
- Representation
- KeycloakAdmin::FederatedIdentityRepresentation
- Defined in:
- lib/keycloak-admin/representation/federated_identity_representation.rb
Instance Attribute Summary collapse
-
#identity_provider ⇒ Object
Returns the value of attribute identity_provider.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
-
#user_name ⇒ Object
Returns the value of attribute user_name.
Class Method Summary collapse
Methods inherited from Representation
Methods included from CamelJson
Instance Attribute Details
#identity_provider ⇒ Object
Returns the value of attribute identity_provider.
3 4 5 |
# File 'lib/keycloak-admin/representation/federated_identity_representation.rb', line 3 def identity_provider @identity_provider end |
#user_id ⇒ Object
Returns the value of attribute user_id.
3 4 5 |
# File 'lib/keycloak-admin/representation/federated_identity_representation.rb', line 3 def user_id @user_id end |
#user_name ⇒ Object
Returns the value of attribute user_name.
3 4 5 |
# File 'lib/keycloak-admin/representation/federated_identity_representation.rb', line 3 def user_name @user_name end |
Class Method Details
.from_hash(hash) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/keycloak-admin/representation/federated_identity_representation.rb', line 7 def self.from_hash(hash) rep = new rep.identity_provider = hash["identityProvider"] rep.user_id = hash["userId"] rep.user_name = hash["userName"] rep end |