Answers for "laravel sanctum auth check"

PHP
2

sanctum auth check?

auth('sanctum')->check();
Posted by: Guest on August-27-2021
0

laravel sanctum

// Revoke all tokens...
$user->tokens()->delete();

// Revoke the token that was used to authenticate the current request...
$request->user()->currentAccessToken()->delete();

// Revoke a specific token...
$user->tokens()->where('id', $tokenId)->delete();
Posted by: Guest on July-24-2021
0

laravel sanctum

'domain' => '.domain.com',
Posted by: Guest on July-24-2021

Browse Popular Code Answers by Language