Class: HaveAPI::Authentication::OAuth2::Authorization

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

Instance Method Summary collapse

Instance Attribute Details

#redirect_uriString (readonly)

Returns:

  • (String)


39
40
41
# File 'lib/haveapi/authentication/oauth2/provider.rb', line 39

def redirect_uri
  @redirect_uri
end

Instance Method Details

#check_code_validity(redirect_uri) ⇒ Boolean

Parameters:

  • redirect_uri (String)

Returns:

Raises:

  • (NotImplementedError)


43
44
45
# File 'lib/haveapi/authentication/oauth2/provider.rb', line 43

def check_code_validity(redirect_uri)
  raise NotImplementedError
end