symfony API

sfBasicSecurityUser Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

Packages

You are currently browsing the symfony API for the 1.0 version. Switch to:
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.

sfBasicSecurityUser will handle any type of data as a credential.

Inheritence

sfBasicSecurityUser  <  sfUser

Method Summary

Methods inherited from sfUser

getAttribute , getAttributeHolder , getContext , getCulture , getParameter , getParameterHolder , hasAttribute , hasParameter , initialize , newInstance , setAttribute , setCulture , setParameter , shutdown , __call

Method Details

  • addCredential ()

    Adds a credential.

  • addCredentials ()

    Adds several credential at once.

  • clearCredentials ()

    Clears all credentials.

  • getLastRequestTime ()

    Returns the timestamp of the last user request.

  • (boolean) hasCredential (, )

    Returns true if user has credential.

  • initialize ()

  • (boolean) isAuthenticated ()

    Returns true if user is authenticated.

  • isTimedOut ()

  • listCredentials ()

    returns an array containing the credentials

  • removeCredential ()

    Removes a credential.

  • setAuthenticated ()

    Sets authentication for user.

  • setTimedOut ()

  • shutdown ()