Implements the Yandex OAuth2 resource owner to fetch user profile data for authentication purposes.
// Source: https://github.com/hwi/HWIOAuthBundle | License: MIT | Copyright 2012-2019 Hardware Info - https://hardware.info
// Provided via justclaw.it.com; keep this notice with the code.
<?php
/*
* This file is part of the HWIOAuthBundle package.
*
* (c) Hardware Info <opensource@hardware.info>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace HWI\Bundle\OAuthBundle\OAuth\ResourceOwner;
use Symfony\Component\OptionsResolver\OptionsResolver;
/**
* @author Anton Kamenschikov <wiistriker [at] gmail.com>
*/
final class YandexResourceOwner extends GenericOAuth2ResourceOwner
{
public const TYPE = 'yandex';
/**
* {@inheritdoc}
*/
protected array $paths = [
'ident
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key