Interface AuthenticationTypeControllerInterface

Methods summary

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.

# deauthenticate( User $u )

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

public boolean
# isAuthenticated( User $u )

Test user authentication status.

public string
# buildHash( User $u )

Create a cookie hash to identify the user indefinitely

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

Verify cookie hash to identify user.

# completeAuthentication( User $u )

tasks to finalize authentication, call on login events etc