Class: Soar::Authentication::Identity::Model

Inherits:
Object
  • Object
show all
Defined in:
lib/soar/authentication/identity/model.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(provider) ⇒ Model

Returns a new instance of Model.



12
13
14
# File 'lib/soar/authentication/identity/model.rb', line 12

def initialize(provider)
  @provider = provider
end

Instance Attribute Details

#providerObject (readonly)

Returns the value of attribute provider.



10
11
12
# File 'lib/soar/authentication/identity/model.rb', line 10

def provider
  @provider
end

Instance Method Details

#directoryObject



24
25
26
# File 'lib/soar/authentication/identity/model.rb', line 24

def directory
  @provider.directory
end

#roleObject



20
21
22
# File 'lib/soar/authentication/identity/model.rb', line 20

def role
  @provider.role
end

#uuidObject



16
17
18
# File 'lib/soar/authentication/identity/model.rb', line 16

def uuid
  @provider.uuid
end