PHP 클래스 KnpU\OAuth2ClientBundle\Tests\Security\Authenticator\StubSocialAuthenticator

상속: extends KnpU\OAuth2ClientBundle\Security\Authenticator\SocialAuthenticator
파일 보기 프로젝트 열기: knpuniversity/oauth2-client-bundle 1 사용 예제들

공개 메소드들

메소드 설명
doFetchAccessToken ( OAuth2Client $client )
getCredentials ( Request $request )
getUser ( $credentials, Symfony\Component\Security\Core\User\UserProviderInterface $userProvider )
onAuthenticationFailure ( Request $request, Symfony\Component\Security\Core\Exception\AuthenticationException $exception )
onAuthenticationSuccess ( Request $request, Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token, $providerKey )
start ( Request $request, Symfony\Component\Security\Core\Exception\AuthenticationException $authException = null )

메소드 상세

doFetchAccessToken() 공개 메소드

public doFetchAccessToken ( OAuth2Client $client )
$client KnpU\OAuth2ClientBundle\Client\OAuth2Client

getCredentials() 공개 메소드

public getCredentials ( Request $request )
$request Symfony\Component\HttpFoundation\Request

getUser() 공개 메소드

public getUser ( $credentials, Symfony\Component\Security\Core\User\UserProviderInterface $userProvider )
$userProvider Symfony\Component\Security\Core\User\UserProviderInterface

onAuthenticationFailure() 공개 메소드

public onAuthenticationFailure ( Request $request, Symfony\Component\Security\Core\Exception\AuthenticationException $exception )
$request Symfony\Component\HttpFoundation\Request
$exception Symfony\Component\Security\Core\Exception\AuthenticationException

onAuthenticationSuccess() 공개 메소드

public onAuthenticationSuccess ( Request $request, Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token, $providerKey )
$request Symfony\Component\HttpFoundation\Request
$token Symfony\Component\Security\Core\Authentication\Token\TokenInterface

start() 공개 메소드

public start ( Request $request, Symfony\Component\Security\Core\Exception\AuthenticationException $authException = null )
$request Symfony\Component\HttpFoundation\Request
$authException Symfony\Component\Security\Core\Exception\AuthenticationException