Exception: KeycloakSdk::AuthError

Inherits:
Error
  • Object
show all
Defined in:
lib/keycloak_sdk/errors.rb

Overview

인증/토큰 발급 실패(OAuth 오류 코드 보존).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, oauth_error: nil) ⇒ AuthError

Returns a new instance of AuthError.



14
15
16
17
# File 'lib/keycloak_sdk/errors.rb', line 14

def initialize(message = nil, oauth_error: nil)
  super(message)
  @oauth_error = oauth_error
end

Instance Attribute Details

#oauth_errorObject (readonly)

Returns the value of attribute oauth_error.



12
13
14
# File 'lib/keycloak_sdk/errors.rb', line 12

def oauth_error
  @oauth_error
end