dev-master
9999999-devAuth in social
The Requires
by Alex Kim
v1.0.4.x-dev
1.0.4.9999999-devAuth in social
The Requires
by Alex Kim
Auth in social
$redirect_uri = 'http://website.com/verity'; $auther = new SocialAuther(['vk', 'facebook'], $redirect_uri);, (*1)
//Auth links br/ $links = $auther->getAuthUrls();, (*2)
//If isset $_GET['code']br/ if ($auther->authenticate()) {br/ $data = [br/ 'token' => $token,br/ 'name' => $auther->getName(),br/ 'email' => $auther->getEmail(),br/ ];br/ }, (*3)
Auth in social
Auth in social