For symfony 1.3, ...

Improve sfGuard

I think sfGuard needs to be improved. Its pretty much the de facto standard user plugin for symfony and its not even finished.

I have had many problems with it and I feel it could be a bit more decoupled. I do not want to use a username and a password.. let me swap it out.

Hell.

At least finish the lost password feature.

610 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    thenightwassavedthenightwassaved shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    7 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • thenightwassavedthenightwassaved commented  ·   ·  Flag as inappropriate

        I think it would be nice to support different login methods out of the box. Such as google accounts, open id, etc. Hell. Try logging into uservoice. They give you tons of options.

      • mohamedmohamed commented  ·   ·  Flag as inappropriate

        sfGaurd should support account applications, tho, in the purist sense, user registration is not in the scope of sfGaurd, but, as a .com dreamer. I need to install a plugin which will take care of ALL of my user management, from the moment they register for username/password. This way, i can focus on the fun part of web development, which is what symfony has promised me.

      • thenightwassavedthenightwassaved commented  ·   ·  Flag as inappropriate

        $authAdapter = new MyAuthAdapter($username, $password);

        // Attempt authentication, saving the result
        $result = $auth->authenticate($authAdapter);

        Then:

        $result->getIdentity() === $auth->getIdentity()
        $result->getIdentity() === $username;

        To check:

        $auth->hasIdentity()

        You have a system for maintaining authentication and one for maintaining identity.

      Feedback and Knowledge Base