Class GenericOauthTypeController

Controller
Extended by Concrete\Core\Authentication\AuthenticationTypeController implements Concrete\Core\Authentication\AuthenticationTypeControllerInterface
Extended by Concrete\Core\Authentication\Type\OAuth\GenericOauthTypeController

Methods summary

public
# __construct( Concrete\Core\Authentication\AuthenticationType $type = null )
public Array
public
# handle_error( $error = false )
public
# showError( $error = null )
public
# markError( $error )
public
# handle_success( $message = false )
public
# showSuccess( $message = null )
public
# markSuccess( $message )
public User|null
# authenticate( )

Empty because we don't use the authenticate entry point.

public string
# buildHash( User $u )

Create a cookie hash to identify the user indefinitely.

public boolean
# verifyHash( User $u, string $hash )

Hash authentication disabled for oauth.

public OAuth\Common\Token\TokenInterface
# getToken( )
public
# setToken( OAuth\Common\Token\TokenInterface $token )
protected null|User
# attemptAuthentication( )
public OAuth\UserData\Extractor\ExtractorInterface
# getExtractor( $new = false )
abstract public OAuth\Common\Service\AbstractService
# getService( )
protected
# isValid( )
public boolean|string
# getBoundUserID( $binding )
abstract public boolean
# supportsRegistration( )

Whether or not we will attempt to register the user.

abstract public boolean
# registrationGroupID( )

Whether or not we will attempt to register the user.

protected
public
public
public
public
public
# getEmail( )
public
public
public
public
public
public
public
public
public integer|null
# bindUser( User $user, $binding )
public integer|null
# bindUserID( $user_id, $binding )
public
abstract public
abstract public
abstract public
abstract public

Properties summary

public array $apiMethods
# array('handle_error', 'handle_success')
protected OAuth\Common\Service\AbstractService $service
#
protected OAuth\UserData\Extractor\Extractor $extractor
#
protected OAuth\Common\Token\TokenInterface $token
#