Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get details of user using token in laravel passport

 public function details()
    {
        $user = Auth::user();
        return response()->json(['success' => $user], $this->successStatus);
    } 
 
PREVIOUS NEXT
Tagged: #details #user #token #laravel #passport
ADD COMMENT
Topic
Name
6+7 =