Class: Tanker::OIDCIDTokenVerificationMethod

Inherits:
VerificationMethod show all
Defined in:
lib/tanker/core/verification_method.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(provider_id, provider_display_name) ⇒ OIDCIDTokenVerificationMethod

Returns a new instance of OIDCIDTokenVerificationMethod.



18
19
20
21
22
# File 'lib/tanker/core/verification_method.rb', line 18

def initialize(provider_id, provider_display_name)
  super()
  @provider_id = provider_id
  @provider_display_name = provider_display_name
end

Instance Attribute Details

#provider_display_nameObject (readonly)

Returns the value of attribute provider_display_name.



16
17
18
# File 'lib/tanker/core/verification_method.rb', line 16

def provider_display_name
  @provider_display_name
end

#provider_idObject (readonly)

Returns the value of attribute provider_id.



16
17
18
# File 'lib/tanker/core/verification_method.rb', line 16

def provider_id
  @provider_id
end

Instance Method Details

#==(other) ⇒ Object



24
25
26
# File 'lib/tanker/core/verification_method.rb', line 24

def ==(other)
  super && provider_id == other.provider_id && provider_display_name == other.provider_display_name
end