Auth::user()->tokens, ]); } public function rules(): array { return [ 'name' => 'required|string|max:255', 'scopes' => 'nullable|array', ]; } public function createToken(): void { Auth::user()->createToken($this->name); } public function deleteToken($tokenId): void { Log::info('poo'); //this needs safety (though the scope of auth::user might kind of do it...) //seems like it does, test more Auth::user()->tokens()->find($tokenId)->delete(); } }