Skip to content

Commit cb7bc90

Browse files
committed
Add auth handler for neo4j
1 parent df4140f commit cb7bc90

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/Eloquent/User.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
3+
namespace Vinelab\NeoEloquent\Eloquent;
4+
5+
use Illuminate\Auth\Authenticatable;
6+
use Illuminate\Auth\MustVerifyEmail;
7+
use Illuminate\Auth\Passwords\CanResetPassword;
8+
use Illuminate\Contracts\Auth\Access\Authorizable as AuthorizableContract;
9+
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
10+
use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract;
11+
use Illuminate\Database\Eloquent\Model;
12+
use Illuminate\Foundation\Auth\Access\Authorizable;
13+
14+
class User extends Model implements
15+
AuthenticatableContract,
16+
AuthorizableContract,
17+
CanResetPasswordContract
18+
{
19+
use Authenticatable, Authorizable, CanResetPassword, MustVerifyEmail;
20+
}

0 commit comments

Comments
 (0)