Class: HaveAPI::Authentication::OAuth2::Client
- Inherits:
-
Object
- Object
- HaveAPI::Authentication::OAuth2::Client
- Defined in:
- lib/haveapi/authentication/oauth2/provider.rb
Overview
Abstract class describing the client and what methods it must respond to
Instance Attribute Summary collapse
- #client_id ⇒ String readonly
- #redirect_uri ⇒ String readonly
Instance Method Summary collapse
Instance Attribute Details
#client_id ⇒ String (readonly)
9 10 11 |
# File 'lib/haveapi/authentication/oauth2/provider.rb', line 9 def client_id @client_id end |
#redirect_uri ⇒ String (readonly)
12 13 14 |
# File 'lib/haveapi/authentication/oauth2/provider.rb', line 12 def redirect_uri @redirect_uri end |
Instance Method Details
#check_secret(client_secret) ⇒ Boolean
16 17 18 |
# File 'lib/haveapi/authentication/oauth2/provider.rb', line 16 def check_secret(client_secret) raise NotImplementedError end |