I'm trying to attach the browser agent and IP address to each access token the user generates on login (it will allow the user to view where they logged in and what device they used similar to Google).
I can't seem to find where the access_token and id were generated so I could put the code to add the extra data.
I was able to trace from HasApiTokens.php to PersonalAccessTokenFactory.php that would fire the make function.
I want to know where inside Passport generates the token.