Class: KeycloakSdk::AuthorizationRequest
- Inherits:
-
Data
- Object
- Data
- KeycloakSdk::AuthorizationRequest
- Defined in:
- lib/keycloak_sdk/tokens.rb
Overview
authorization-code 흐름 시작 값(PKCE code_verifier 포함·inspect 마스킹). nonce는 인가 URL에 실리는 재생 방지 값이라 비밀이 아니다(state와 동급 — code_verifier만 마스킹).
Instance Attribute Summary collapse
-
#code_verifier ⇒ Object
readonly
Returns the value of attribute code_verifier.
-
#nonce ⇒ Object
readonly
Returns the value of attribute nonce.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
- #inspect ⇒ Object (also: #to_s)
Instance Attribute Details
#code_verifier ⇒ Object (readonly)
Returns the value of attribute code_verifier
51 52 53 |
# File 'lib/keycloak_sdk/tokens.rb', line 51 def code_verifier @code_verifier end |
#nonce ⇒ Object (readonly)
Returns the value of attribute nonce
51 52 53 |
# File 'lib/keycloak_sdk/tokens.rb', line 51 def nonce @nonce end |
#state ⇒ Object (readonly)
Returns the value of attribute state
51 52 53 |
# File 'lib/keycloak_sdk/tokens.rb', line 51 def state @state end |
#url ⇒ Object (readonly)
Returns the value of attribute url
51 52 53 |
# File 'lib/keycloak_sdk/tokens.rb', line 51 def url @url end |
Instance Method Details
#inspect ⇒ Object Also known as: to_s
52 53 54 55 |
# File 'lib/keycloak_sdk/tokens.rb', line 52 def inspect "#<KeycloakSdk::AuthorizationRequest url=#{url.inspect} state=#{state.inspect} " \ "nonce=#{nonce.inspect} code_verifier=\"***\">" end |