Class: Tanker::PreverifiedOIDCVerification

Inherits:
Verification show all
Defined in:
lib/tanker/core/verification.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(subject, provider_id) ⇒ PreverifiedOIDCVerification

Returns a new instance of PreverifiedOIDCVerification.



120
121
122
123
124
125
126
127
128
# File 'lib/tanker/core/verification.rb', line 120

def initialize(subject, provider_id)
  super()

  ASSERT_UTF8.call(provider_id)
  ASSERT_UTF8.call(subject)

  @provider_id = provider_id
  @subject = subject
end

Instance Attribute Details

#provider_idObject (readonly)

Returns the value of attribute provider_id.



118
119
120
# File 'lib/tanker/core/verification.rb', line 118

def provider_id
  @provider_id
end

#subjectObject (readonly)

Returns the value of attribute subject.



118
119
120
# File 'lib/tanker/core/verification.rb', line 118

def subject
  @subject
end