Class: Keycloak_FFI::KeycloakUserinfo
- Inherits:
-
FFI::ManagedStruct
- Object
- FFI::ManagedStruct
- Keycloak_FFI::KeycloakUserinfo
- Defined in:
- lib/libkeycloak.rb
Class Method Summary collapse
Instance Method Summary collapse
- #email ⇒ Object
- #email_verified ⇒ Object
- #family_name ⇒ Object
- #given_name ⇒ Object
- #name ⇒ Object
- #preferred_username ⇒ Object
- #sub ⇒ Object
Class Method Details
.release(ptr) ⇒ Object
203 204 205 206 207 208 |
# File 'lib/libkeycloak.rb', line 203 def self.release ptr unless ptr.nil? Keycloak_FFI.keycloak_destroy_userinfo(ptr) FFI::LibC.free(ptr) end end |
Instance Method Details
#email ⇒ Object
199 200 201 |
# File 'lib/libkeycloak.rb', line 199 def email self[:email] end |
#email_verified ⇒ Object
179 180 181 |
# File 'lib/libkeycloak.rb', line 179 def email_verified self[:email_verified] end |
#family_name ⇒ Object
195 196 197 |
# File 'lib/libkeycloak.rb', line 195 def family_name self[:family_name] end |
#given_name ⇒ Object
191 192 193 |
# File 'lib/libkeycloak.rb', line 191 def given_name self[:given_name] end |
#name ⇒ Object
183 184 185 |
# File 'lib/libkeycloak.rb', line 183 def name self[:name] end |
#preferred_username ⇒ Object
187 188 189 |
# File 'lib/libkeycloak.rb', line 187 def preferred_username self[:preferred_username] end |
#sub ⇒ Object
175 176 177 |
# File 'lib/libkeycloak.rb', line 175 def sub self[:sub] end |