Class: HaveAPI::Authentication::OAuth2::AuthResult
- Inherits:
-
Object
- Object
- HaveAPI::Authentication::OAuth2::AuthResult
- Defined in:
- lib/haveapi/authentication/oauth2/provider.rb
Overview
Abstract class describing the authentication result and what methods it must respond to
Instance Attribute Summary collapse
-
#authenticated ⇒ Boolean
readonly
True of the user was authenticated.
-
#cancel ⇒ Boolean
readonly
True if the user asked to cancel the authorization process.
-
#complete ⇒ Boolean
readonly
True if the authentication process is complete, false if other steps are needed.
Instance Attribute Details
#authenticated ⇒ Boolean (readonly)
True of the user was authenticated
25 26 27 |
# File 'lib/haveapi/authentication/oauth2/provider.rb', line 25 def authenticated @authenticated end |
#cancel ⇒ Boolean (readonly)
True if the user asked to cancel the authorization process
33 34 35 |
# File 'lib/haveapi/authentication/oauth2/provider.rb', line 33 def cancel @cancel end |
#complete ⇒ Boolean (readonly)
True if the authentication process is complete, false if other steps are needed
29 30 31 |
# File 'lib/haveapi/authentication/oauth2/provider.rb', line 29 def complete @complete end |