mediatekformation

AuthorizationChecker
in package
implements AuthorizationCheckerInterface

AuthorizationChecker is the main authorization point of the Security component.

It gives access to the token representing the current user authentication.

Tags
author

Fabien Potencier fabien@symfony.com

author

Johannes M. Schmitt schmittjoh@gmail.com

Interfaces, Classes, Traits and Enums

AuthorizationCheckerInterface
The AuthorizationCheckerInterface.

Table of Contents

$accessDecisionManager  : mixed
$alwaysAuthenticate  : mixed
$authenticationManager  : mixed
$tokenStorage  : mixed
__construct()  : mixed
isGranted()  : bool
Checks if the attributes are granted against the current authentication token and optionally supplied subject.

Properties

Methods

isGranted()

Checks if the attributes are granted against the current authentication token and optionally supplied subject.

public final isGranted(mixed $attributes[, mixed $subject = null ]) : bool
Parameters
$attributes : mixed
$subject : mixed = null
Tags
throws
AuthenticationCredentialsNotFoundException

when the token storage has no authentication token

Return values
bool

Search results