summaryrefslogtreecommitdiffstats
path: root/Core/SecurityContext.php
diff options
context:
space:
mode:
Diffstat (limited to 'Core/SecurityContext.php')
-rw-r--r--Core/SecurityContext.php15
1 files changed, 3 insertions, 12 deletions
diff --git a/Core/SecurityContext.php b/Core/SecurityContext.php
index 1ec43e6..c55cecf 100644
--- a/Core/SecurityContext.php
+++ b/Core/SecurityContext.php
@@ -46,14 +46,9 @@ class SecurityContext implements SecurityContextInterface
}
/**
- * Checks if the attributes are granted against the current token.
+ * {@inheritdoc}
*
* @throws AuthenticationCredentialsNotFoundException when the security context has no authentication token.
- *
- * @param mixed $attributes
- * @param mixed|null $object
- *
- * @return Boolean
*/
final public function isGranted($attributes, $object = null)
{
@@ -73,9 +68,7 @@ class SecurityContext implements SecurityContextInterface
}
/**
- * Gets the currently authenticated token.
- *
- * @return TokenInterface|null A TokenInterface instance or null if no authentication information is available
+ * {@inheritdoc}
*/
public function getToken()
{
@@ -83,9 +76,7 @@ class SecurityContext implements SecurityContextInterface
}
/**
- * Sets the currently authenticated token.
- *
- * @param TokenInterface $token A TokenInterface token, or null if no further authentication information should be stored
+ * {@inheritdoc}
*/
public function setToken(TokenInterface $token = null)
{