Class: Tanker::OIDCIDTokenVerificationMethod
- Inherits:
-
VerificationMethod
- Object
- VerificationMethod
- Tanker::OIDCIDTokenVerificationMethod
- Defined in:
- lib/tanker/core/verification_method.rb
Instance Attribute Summary collapse
-
#provider_display_name ⇒ Object
readonly
Returns the value of attribute provider_display_name.
-
#provider_id ⇒ Object
readonly
Returns the value of attribute provider_id.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(provider_id, provider_display_name) ⇒ OIDCIDTokenVerificationMethod
constructor
A new instance of OIDCIDTokenVerificationMethod.
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_name ⇒ Object (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_id ⇒ Object (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 |