class Login extends PageController implements LoggerAwareInterface (View source)

Traits

Trait LoggerAwareTrait A trait used with LoggerAwareInterface

LoggerAwareTrait

Properties

$helpers
protected $locales
protected ErrorList|null $error

Methods

getLoggerChannel()

No description

on_before_render()

No description

account_deactivated()

No description

session_invalidated()

No description

callback(string $type = null, string $method = 'callback', null $a = null, null $b = null, null $c = null, null $d = null, null $e = null, null $f = null, null $g = null, null $h = null, null $i = null, null $j = null)

No description

authenticate($type = '')

Authenticate the user using a specific authentication type.

finishAuthentication(AuthenticationType $type, User $u)

No description

login_complete()

No description

on_start()

No description

string
getRedirectUrl() deprecated

No description

string|false
getRedirectUrlFromSession() deprecated

No description

view($type = null, $element = 'form')

No description

fill_attributes()

No description

logout(string|false|null $token = false) deprecated

No description

Response
do_logout(string|false|null $token = false)

No description

forward($cID = 0)

No description

Details

getLoggerChannel()

No description

on_before_render()

No description

account_deactivated()

No description

session_invalidated()

No description

callback(string $type = null, string $method = 'callback', null $a = null, null $b = null, null $c = null, null $d = null, null $e = null, null $f = null, null $g = null, null $h = null, null $i = null, null $j = null)

No description

Parameters

string $type
string $method
null $a
null $b
null $c
null $d
null $e
null $f
null $g
null $h
null $i
null $j

Exceptions

AuthenticationTypeFailureException
Exception

authenticate($type = '')

Authenticate the user using a specific authentication type.

Parameters

$type

AuthenticationType handle

finishAuthentication(AuthenticationType $type, User $u)

No description

Parameters

AuthenticationType $type Required
User $u

Exceptions

Exception

login_complete()

No description

on_start()

No description

string getRedirectUrl() deprecated

deprecated Use the getPostLoginUrl method of \Concrete\Core\User\PostLoginLocation

No description

Return Value

string

See also

PostLoginLocation::getPostLoginUrl

string|false getRedirectUrlFromSession() deprecated

deprecated Use the getSessionPostLoginUrl method of \Concrete\Core\User\PostLoginLocation

No description

Return Value

string|false

See also

PostLoginLocation::getSessionPostLoginUrl

view($type = null, $element = 'form')

No description

Parameters

$type
$element

fill_attributes()

No description

logout(string|false|null $token = false) deprecated

deprecated Use do_logout instead

No description

Parameters

string|false|null $token

See also

Login::do_logout

Response do_logout(string|false|null $token = false)

No description

Parameters

string|false|null $token

Return Value

Response

forward($cID = 0)

No description

Parameters

$cID