AnonymousToken::getSecret()

string getSecret() Returns the secret. Return Value string

AnonymousToken::getCredentials()

mixed getCredentials() Returns the user credentials. Return Value mixed The user credentials

AnonymousToken

class AnonymousToken extends AbstractToken AnonymousToken represents an anonymous token. Methods __construct(string $secret, string|object $user, array $roles = array()) Constructor. RoleInterface[] getRoles() Returns the user roles. from AbstractToken string getUsername() Returns the username. from AbstractToken mixed getUser() Returns a user representation. from AbstractToken setUser(mixed $user) Sets a user. from AbstractToken bool isAuthenticated() Returns whethe

AnonymousAuthenticationProvider::supports()

bool supports(TokenInterface $token) Checks whether this provider supports the given token. Parameters TokenInterface $token A TokenInterface instance Return Value bool true if the implementation supports the Token, false otherwise

AnonymousAuthenticationProvider::authenticate()

TokenInterface authenticate(TokenInterface $token) Attempts to authenticate a TokenInterface object. Parameters TokenInterface $token The TokenInterface instance to authenticate Return Value TokenInterface An authenticated TokenInterface instance, never null Exceptions AuthenticationException if the authentication fails

AnonymousAuthenticationProvider

class AnonymousAuthenticationProvider implements AuthenticationProviderInterface AnonymousAuthenticationProvider validates AnonymousToken instances. Methods __construct(string $secret) Constructor. TokenInterface authenticate(TokenInterface $token) Attempts to authenticate a TokenInterface object. bool supports(TokenInterface $token) Checks whether this provider supports the given token. Details __construct(string $secret) Constructo

AnonymousAuthenticationListener

class AnonymousAuthenticationListener implements ListenerInterface AnonymousAuthenticationListener automatically adds a Token if none is already present. Methods __construct(TokenStorageInterface $tokenStorage, $secret, LoggerInterface $logger = null, AuthenticationManagerInterface $authenticationManager = null) handle(GetResponseEvent $event) Handles anonymous authentication. Details __construct(TokenStorageInterface $tokenStorage, $secret, LoggerI

AnnotationLoader

class AnnotationLoader implements LoaderInterface Loads validation metadata using a Doctrine annotation {@link Reader}. Methods __construct(Reader $reader) bool loadClassMetadata(ClassMetadata $metadata) Loads validation metadata into a {@link ClassMetadata} instance. Details __construct(Reader $reader) Parameters Reader $reader bool loadClassMetadata(ClassMetadata $metadata) Loads validation me

AnnotationLoader

class AnnotationLoader implements LoaderInterface Annotation loader. Methods __construct(Reader $reader) bool loadClassMetadata(ClassMetadataInterface $classMetadata) Load class metadata. Details __construct(Reader $reader) Parameters Reader $reader bool loadClassMetadata(ClassMetadataInterface $classMetadata) Load class metadata. Parameters ClassMetadataInterface $classMetadata A metadata Ret

AnnotationFileLoader

class AnnotationFileLoader extends FileLoader AnnotationFileLoader loads routing information from annotations set on a PHP class and its methods. Methods LoaderResolverInterface getResolver() Gets the loader resolver. from Loader setResolver(LoaderResolverInterface $resolver) Sets the loader resolver. from Loader mixed import(mixed $resource, string|null $type = null, bool $ignoreErrors = false, string|null $sourceResource = null) Imports a resource. from FileLoader LoaderInter