KnpU\OAuth2ClientBundle\DependencyInjection\Providers\GoogleProviderConfigurator::buildConfiguration PHP Method

buildConfiguration() public method

public buildConfiguration ( Symfony\Component\Config\Definition\Builder\NodeBuilder $node )
$node Symfony\Component\Config\Definition\Builder\NodeBuilder
    public function buildConfiguration(NodeBuilder $node)
    {
        // todo - add the comments as help text, and render in README
        $node->scalarNode('access_type')->info('Optional value for sending hd parameter. More detail: https://developers.google.com/accounts/docs/OAuth2Login#hd-param')->end()->scalarNode('hosted_domain')->info('Optional value for sending access_type parameter. More detail: https://developers.google.com/identity/protocols/OAuth2WebServer#offline')->end()->arrayNode('user_fields')->prototype('scalar')->end()->info('Optional value for additional fields to be requested from the user profile. If set, these values will be included with the defaults. More details: https://developers.google.com/+/web/api/rest/latest/people')->end();
    }