Class: Hydra::Keycloak::CodeVerifier
- Inherits:
-
Object
- Object
- Hydra::Keycloak::CodeVerifier
- Defined in:
- lib/hydra/keycloak/code_verifier.rb
Instance Attribute Summary collapse
-
#code_challenge ⇒ Object
readonly
Returns the value of attribute code_challenge.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#code_challenge ⇒ Object (readonly)
Returns the value of attribute code_challenge.
12 13 14 |
# File 'lib/hydra/keycloak/code_verifier.rb', line 12 def code_challenge @code_challenge end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
12 13 14 |
# File 'lib/hydra/keycloak/code_verifier.rb', line 12 def value @value end |
Instance Method Details
#generate ⇒ Object
14 15 16 17 |
# File 'lib/hydra/keycloak/code_verifier.rb', line 14 def generate @value = _generate @code_challenge = _generate_pkce(@value) end |