Skip to content

Authentication System #4

Open
Open

Description

@tahaghafuri

Hi,Please Create Authentication Library For A+ Framework!

Activity

  1. tahaghafuri commented on Feb 6, 2023

    @tahaghafuri
    Author

    ????

  2. natanfelles commented on Feb 6, 2023

    @natanfelles
    Collaborator

    Hello @tahaghafuri !

    We plan to create an Auth Library soon, but we don't have the necessary use cases yet.

    We plan to use token based, session and ACL.

    It is currently possible to authenticate using methods of the Framework\HTTP\Request class.

    In a controller you can do this:

    $auth = $this->request->getBasicAuth(); // array with username and password keys

    or

    $auth = $this->request->getBearerAuth(); // array with token key

    So just check if the authentication data are in, for example, the database.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions