Skip to content

Commit 21a1314

Browse files
artdarekjenssegers
authored andcommitted
Authenticatable User Class Added (#1118)
1 parent 77d62cc commit 21a1314

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/Jenssegers/Mongodb/Auth/User.php

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

0 commit comments

Comments
 (0)