ICanBoogie
  • Documentation
  • API Reference
  • ICanBoogie 4.0.x
Namespaces
  • ICanBoogie
    • Application
    • Autoconfig
    • Binding
    • Routing
    • Session
Classes
  • AlreadyAuthenticated
  • AppConfig
  • Core
  • Debug
  • Helpers
  • Hooks
  • Logger
  • LogLevel
  • SessionWithEvent
Interfaces
  • LoggerInterface
Traits
  • AppAccessor
  • LoggerTrait
Exceptions
  • ApplicationAlreadyBooted
  • ApplicationAlreadyInstantiated
  • ApplicationAlreadyRunning
  • ApplicationNotInstantiated

Class AlreadyAuthenticated

Exception thrown when the user is already authenticated.

Third parties may use this exception to redirect authenticated user from a login page to their profile page.

ICanBoogie\HTTP\ClientError
┗ ICanBoogie\AlreadyAuthenticated implements ICanBoogie\HTTP\SecurityError
Namespace: ICanBoogie
Located at AlreadyAuthenticated.php

Methods summary

public __construct( $message = self::DEFAULT_MESSAGE, $code = 401, Exception $previous = null )

Inheritdoc

Constants summary

DEFAULT_MESSAGE : string
"The user is already authenticated."
ICanBoogie 4.0.x – Check on GitHub – API documentation generated by ApiGen