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.
27 lines
528 B
27 lines
528 B
6 years ago
|
<?php namespace AdamWathan\EloquentOAuth;
|
||
|
|
||
|
use Illuminate\Database\Eloquent\Model as Eloquent;
|
||
|
use Config;
|
||
|
|
||
|
/**
|
||
|
* @property $id
|
||
|
* @property $user_id
|
||
|
* @property $provider
|
||
|
* @property $provider_user_id
|
||
|
* @property $access_token
|
||
|
*/
|
||
|
class OAuthIdentity extends Eloquent
|
||
|
{
|
||
|
protected static $configuredTable = 'oauth_identities';
|
||
|
|
||
|
public static function configureTable($table)
|
||
|
{
|
||
|
static::$configuredTable = $table;
|
||
|
}
|
||
|
|
||
|
public function getTable()
|
||
|
{
|
||
|
return static::$configuredTable;
|
||
|
}
|
||
|
}
|