Create User.php

This commit is contained in:
Tony Roy 2021-03-10 18:38:56 -04:00 committed by GitHub
commit 3557ffd2e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,57 @@
<?php
namespace wickedsoft\NetBox\Authentication;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable
{
/**
* @return mixed
*/
public function getAuthIdentifier()
{
return $this->id;
}
/**
* @return string
*/
public function getAuthIdentifierName()
{
return 'id';
}
/**
* @return string
*/
public function getAuthPassword()
{
return $this->password;
}
/**
* @return string
*/
public function getRememberToken()
{
//
}
/**
* @return string
*/
public function getRememberTokenName()
{
//
}
/**
* @param string $value
* @return void
*/
public function setRememberToken($value)
{
//
}
}