__construct()
_init()
forge()
get()
get_instance()
link_provider()
login_or_register()
callback()
create_user()
$config
$db_connection
$opauth
$provider_table
$response
__construct(array $config, $autorun)
_init()
forge(array $config, bool $autorun)
array
any call-time configuration to be used
bool
whether or not Opauth should run automatically
get($key, $default)
get_instance() : \Opauth
\Opauth
link_provider(array $data)
login_or_register()
If we know this user, we can perform a login, if not, we need to register the user first
callback()
create_user(array $user) : mixed
array
array with the raw Opauth response user fields
mixed
id of the user record created, or false if the create failed$config
$db_connection : string
$opauth
$provider_table : string
$response