Class: HaveAPI::Authentication::OAuth2::AuthResult

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#authenticatedBoolean (readonly)

True of the user was authenticated

Returns:



25
26
27
# File 'lib/haveapi/authentication/oauth2/provider.rb', line 25

def authenticated
  @authenticated
end

#cancelBoolean (readonly)

True if the user asked to cancel the authorization process

Returns:



33
34
35
# File 'lib/haveapi/authentication/oauth2/provider.rb', line 33

def cancel
  @cancel
end

#completeBoolean (readonly)

True if the authentication process is complete, false if other steps are needed

Returns:



29
30
31
# File 'lib/haveapi/authentication/oauth2/provider.rb', line 29

def complete
  @complete
end