ICanBoogie
  • Documentation
  • API Reference
  • ICanBoogie v3.0.0
Namespaces
  • ICanBoogie
    • Autoconfig
    • Binding
    • Core
    • Routing
    • Session
Classes
  • AlreadyAuthenticated
  • Core
  • Debug
  • Helpers
  • Hooks
  • Logger
  • LogLevel
  • SessionWithEvent
Interfaces
  • LoggerInterface
Traits
  • AppAccessor
  • LoggerTrait
Exceptions
  • CoreAlreadyBooted
  • CoreAlreadyInstantiated
  • CoreAlreadyRunning
  • CoreNotInstantiated

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 v3.0.0 – Check on GitHub – API documentation generated by ApiGen