loadsys / loadsys/CakePHP-Stateless-Auth

Add a StatelessAuthBehavior to supply necessary model methods.

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
PHP
Stars
7
Forks
4
PR merge metrics
No merged PRs in 30d

Description

This would give the plugin a way to provide the necessary functionality required to use the `TokenLoginLogoutAuthenticate` object, by injecting general `login()`, `logout()` and `findForToken()` methods into an existing Model.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the TokenLoginLogoutAuthenticate object and the existing model integration points to determine which methods it requires. Define how a StatelessAuthBehavior would inject login(), logout(), and findForToken() into an existing Model, then verify that the object can use those methods through the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authentication, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.