symfony API

sfSecurityUser Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.0 API OpenSearch

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.

sfSecurityUser interface provides advanced security manipulation methods.

Method Summary

Method Details

  • (void) addCredential () Browse code

    Add a credential to this user.

  • (void) clearCredentials () Browse code

    Clear all credentials associated with this user.

  • (bool) hasCredential () Browse code

    Indicates whether or not this user has a credential.

    returns true, if this user has the credential, otherwise false.

  • (bool) isAuthenticated () Browse code

    Indicates whether or not this user is authenticated.

    returns true, if this user is authenticated, otherwise false.

  • (void) removeCredential () Browse code

    Remove a credential from this user.

  • (void) setAuthenticated () Browse code

    Set the authenticated status of this user.