Class: Tanker::OIDCAuthorizationCodeVerification
- Inherits:
-
Verification
- Object
- Verification
- Tanker::OIDCAuthorizationCodeVerification
- Defined in:
- lib/tanker/core/verification.rb
Instance Attribute Summary collapse
-
#authorization_code ⇒ Object
readonly
Returns the value of attribute authorization_code.
-
#provider_id ⇒ Object
readonly
Returns the value of attribute provider_id.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
Instance Method Summary collapse
-
#initialize(provider_id, authorization_code, state) ⇒ OIDCAuthorizationCodeVerification
constructor
A new instance of OIDCAuthorizationCodeVerification.
Constructor Details
#initialize(provider_id, authorization_code, state) ⇒ OIDCAuthorizationCodeVerification
Returns a new instance of OIDCAuthorizationCodeVerification.
80 81 82 83 84 85 86 87 88 89 90 |
# File 'lib/tanker/core/verification.rb', line 80 def initialize(provider_id, , state) super() ASSERT_UTF8.call(provider_id) ASSERT_UTF8.call() ASSERT_UTF8.call(state) @provider_id = provider_id @authorization_code = @state = state end |
Instance Attribute Details
#authorization_code ⇒ Object (readonly)
Returns the value of attribute authorization_code.
78 79 80 |
# File 'lib/tanker/core/verification.rb', line 78 def @authorization_code end |
#provider_id ⇒ Object (readonly)
Returns the value of attribute provider_id.
78 79 80 |
# File 'lib/tanker/core/verification.rb', line 78 def provider_id @provider_id end |
#state ⇒ Object (readonly)
Returns the value of attribute state.
78 79 80 |
# File 'lib/tanker/core/verification.rb', line 78 def state @state end |