fix app namespace and update comments
This commit is contained in:
@@ -12,15 +12,24 @@ Authenticate WordPress user via json web token from Laravel Application.
|
||||
## Usage
|
||||
|
||||
Send users to:
|
||||
https://your-wp-site.com/dabestaniha/login?laravel_login_token=TOKEN
|
||||
https://your-wp-site.com/dabestaniha/login/?token=TOKEN
|
||||
|
||||
With required data encoded in the token.
|
||||
|
||||
Payload JWT:
|
||||
```json
|
||||
{
|
||||
"email": "user@example.com",
|
||||
"name": "Test User",
|
||||
"exp": 1752575400
|
||||
"iat" : 1752671371,
|
||||
"jti" : "---qwe---",
|
||||
"iss" : "https://api.test",
|
||||
"exp" : 1763039371,
|
||||
"aud" : "https://api.test",
|
||||
"data" : {
|
||||
"id" : 1,
|
||||
"name" : "Test User",
|
||||
"mobile" : "9123456789",
|
||||
"email" : "user@gmail.com",
|
||||
"username" : "test-user"
|
||||
}
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user