Class Controller

Controller
Extended by Concrete\Core\Authentication\AuthenticationTypeController implements Concrete\Core\Authentication\AuthenticationTypeControllerInterface
Extended by Concrete\Authentication\Concrete\Controller

Methods summary

public string
# getHandle( )
public
# deauthenticate( User $u )

Method used to clean up. This method must be defined, if it isn't needed, leave it blank.

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

Verify cookie hash to identify user.

public
# view( )
public string
# buildHash( User $u, $test = 1 )

Create a cookie hash to identify the user indefinitely

public boolean
# isAuthenticated( User $u )

Test user authentication status.

public
public
# forgot_password( )

Called when a user wants a password reset email sent, is passed in the user's email address.

public
# change_password( $uHash = '' )
public
public
public
public User|null
# authenticate( )

Method used to verify the user and log them in. Returning user will cause finishAuthentication to run, otherwise it's expected that the subclass manage completion.

public
# v( $hash = '' )

Properties summary

public array $apiMethods
# array('forgot_password', 'v', 'change_password', 'password_changed', 'email_validated', 'invalid_token')