Skip to content

Auth::verify() methods requires extra work to integrate with jwt-auth #78

@ashgibson

Description

@ashgibson

First up, great lib! I have used it successfully on a few live applications so thanks for sharing.

When using Verify with other packages such as https://github.com/tymondesigns/jwt-auth, extra work is required to get the benefit of your verified, disabled and deleted functionality. The reason is because this other package uses the standard methods as per the Guard interface. This would require you doing away with the VerifyGuard::verify method or at least creating the other ones as per the Guard interface and routing them through.

On a similar note, I'm not sure why you got rid of the Exceptions when a user is unverified, disabled, deleted etc.. as I thought this was a great solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions