TokenInterface

interface TokenInterface implements Serializable TokenInterface is the interface for the user authentication information. Methods string __toString() Returns a string representation of the Token. RoleInterface[] getRoles() Returns the user roles. mixed getCredentials() Returns the user credentials. mixed getUser() Returns a user representation. setUser(mixed $user) Sets a user. string getUsername() Returns the username. bool isAuthenticated() Returns whether

TokenGeneratorInterface

interface TokenGeneratorInterface Generates CSRF tokens. Methods string generateToken() Generates a CSRF token. Details string generateToken() Generates a CSRF token. Return Value string The generated CSRF token

TokenBasedRememberMeServices

class TokenBasedRememberMeServices extends AbstractRememberMeServices Concrete implementation of the RememberMeServicesInterface providing remember-me capabilities without requiring a TokenProvider. Constants COOKIE_DELIMITER Methods __construct(array $userProviders, string $secret, string $providerKey, array $options = array(), LoggerInterface $logger = null) Constructor. from AbstractRememberMeServices string getRememberMeParameter() Returns the parameter that is used for che

Token::isWhitespace()

bool isWhitespace() Return Value bool

Token::isString()

bool isString() Return Value bool

Token::isNumber()

bool isNumber() Return Value bool

Token::isIdentifier()

bool isIdentifier() Return Value bool

Token::isHash()

bool isHash() Return Value bool

Token::isFileEnd()

bool isFileEnd() Return Value bool

Token::isDelimiter()

bool isDelimiter(array $values = array()) Parameters array $values Return Value bool