Class: HaveAPI::Authentication::OAuth2::Authorization
- Inherits:
-
Object
- Object
- HaveAPI::Authentication::OAuth2::Authorization
- Defined in:
- lib/haveapi/authentication/oauth2/provider.rb
Overview
Abstract class describing ongoing authorization and what methods it must respond to
Instance Attribute Summary collapse
- #code_challenge ⇒ String? readonly
- #code_challenge_method ⇒ String? readonly
- #redirect_uri ⇒ String readonly
Instance Method Summary collapse
Instance Attribute Details
#code_challenge ⇒ String? (readonly)
39 40 41 |
# File 'lib/haveapi/authentication/oauth2/provider.rb', line 39 def code_challenge @code_challenge end |
#code_challenge_method ⇒ String? (readonly)
42 43 44 |
# File 'lib/haveapi/authentication/oauth2/provider.rb', line 42 def code_challenge_method @code_challenge_method end |
#redirect_uri ⇒ String (readonly)
45 46 47 |
# File 'lib/haveapi/authentication/oauth2/provider.rb', line 45 def redirect_uri @redirect_uri end |
Instance Method Details
#check_code_validity(redirect_uri) ⇒ Boolean
49 50 51 |
# File 'lib/haveapi/authentication/oauth2/provider.rb', line 49 def check_code_validity(redirect_uri) raise NotImplementedError end |