You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
582 B
32 lines
582 B
<?php
|
|
|
|
namespace authkit2\Models;
|
|
|
|
use \Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* User's OIDC token
|
|
*
|
|
* @property string $id
|
|
* @property int $user_id
|
|
* @property string $access_token
|
|
* @property string $refresh_token
|
|
*/
|
|
class Token extends Model
|
|
{
|
|
/**
|
|
* Override the default generated table name so we can namespace this and
|
|
* avoid conflicting with anything the app might already be using.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $table = 'authkit2_token';
|
|
|
|
/**
|
|
* Disable Eloquent's default created/updated fields
|
|
*
|
|
* @var bool
|
|
*/
|
|
public $timestamps = false;
|
|
|
|
}
|
|
|