Overview

Namespaces

  • Jity
    • HomepageBundle
      • Controller
      • DataFixtures
        • ORM
      • DependencyInjection
        • Compiler
        • Service
          • Controller
      • Doctrine
        • Extension
          • DBAL
            • Types
      • Entity
      • EventListener
      • Form
        • Extension
      • Tests
        • Controller
      • Twig
        • Extension
  • PHP

Classes

  • AdminController
  • ArticleController
  • AuthorController
  • BlogController
  • CategoryController
  • DebugController
  • DefaultController
  • EditorController
  • PageController
  • SectionController
  • SecurityController
  • SidebarController
  • TagController
  • UserController
  • Overview
  • Namespace
  • Class
  • Tree

Class SecurityController

SecurityController

The Security Controller allows you to login, logout and register new accounts.

Symfony\Bundle\FrameworkBundle\Controller\Controller
Extended by Jity\HomepageBundle\Controller\SecurityController
Namespace: Jity\HomepageBundle\Controller
Author: Hermann Mayer <hermann.mayer92@gmail.com>
Uses: Controller
Located at Jity/HomepageBundle/Controller/SecurityController.php
Methods summary
public Response
# loginAction( )

loginAction

loginAction

Login Frontend for the Symfony Login mechanism.

Returns

Response
public Response
# registerAction( Symfony\Component\HttpFoundation\Request $request )

registerAction

registerAction

Register a new user account.

Parameters

$request
Symfony\Component\HttpFoundation\Request
$request Request Object

Returns

Response
public Response
# validateEmailAction( integer $userId, string $salt )

validateEmailAction

validateEmailAction

Validate a new user account (Email Address) with a hash comparison mechanism.

Parameters

$userId
integer
$userId User Id
$salt
string
$salt Hash to validate

Returns

Response
public Response
# renderLoginLinksAction( boolean $oauth = true, boolean $login = true, string $destination = null )

renderLoginLinksAction

renderLoginLinksAction

Render links to auth mechanisms for the application. (Eg. Jity native account login, OAuth login)

Parameters

$oauth
boolean
$oauth Print OAuth Auth Links
$login
boolean
$login Print Native Jity Auth Link
$destination
string
$destination Destination URI for successfull auth (redirect)

Returns

Response
API documentation generated by ApiGen 2.8.0