datatable.directory codebase
https://datatable.directory/
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.
31 lines
620 B
31 lines
620 B
<?php namespace AdamWathan\EloquentOAuth;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* @property $id
|
|
* @property $user_id
|
|
* @property $provider
|
|
* @property $provider_user_id
|
|
* @property $access_token
|
|
* @property $nick_name
|
|
* @property $full_name
|
|
* @property $avatar
|
|
* @property $email
|
|
*/
|
|
class OAuthIdentity extends Model
|
|
{
|
|
protected $guarded = [];
|
|
|
|
protected static $configuredTable = 'oauth_identities';
|
|
|
|
public static function configureTable($table)
|
|
{
|
|
static::$configuredTable = $table;
|
|
}
|
|
|
|
public function getTable()
|
|
{
|
|
return static::$configuredTable;
|
|
}
|
|
}
|
|
|