PHP 인터페이스 KnpU\OAuth2ClientBundle\DependencyInjection\Providers\ProviderConfiguratorInterface

파일 보기 프로젝트 열기: knpuniversity/oauth2-client-bundle 0 사용 예제들

공개 메소드들

메소드 설명
buildConfiguration ( Symfony\Component\Config\Definition\Builder\NodeBuilder $node ) Build the config tree for any *extra* options that you need to configure your provider.
getClientClass ( array $config ) : string The client class to be used.
getLibraryHomepage ( ) : string Returns the URL to the homepage for this library.
getPackagistName ( ) : string
getProviderClass ( array $configuration ) : string
getProviderDisplayName ( ) : string Display name like "Facebook" or "GitHub" that this integrates with.
getProviderOptions ( array $configuration ) : array

메소드 상세

buildConfiguration() 공개 메소드

Build the config tree for any *extra* options that you need to configure your provider.
public buildConfiguration ( Symfony\Component\Config\Definition\Builder\NodeBuilder $node )
$node Symfony\Component\Config\Definition\Builder\NodeBuilder

getClientClass() 공개 메소드

Each provider should have their own, but you could default to OAuth2Client.
public getClientClass ( array $config ) : string
$config array
리턴 string

getLibraryHomepage() 공개 메소드

Returns the URL to the homepage for this library.
public getLibraryHomepage ( ) : string
리턴 string

getPackagistName() 공개 메소드

public getPackagistName ( ) : string
리턴 string

getProviderClass() 공개 메소드

public getProviderClass ( array $configuration ) : string
$configuration array
리턴 string

getProviderDisplayName() 공개 메소드

Display name like "Facebook" or "GitHub" that this integrates with.
public getProviderDisplayName ( ) : string
리턴 string

getProviderOptions() 공개 메소드

public getProviderOptions ( array $configuration ) : array
$configuration array
리턴 array