PHP Class KnpU\OAuth2ClientBundle\Security\Exception\FinishRegistrationException

Inheritance: extends Symfony\Component\Security\Core\Exception\AuthenticationException
Show file Open project: knpuniversity/oauth2-client-bundle Class Usage Examples

Public Methods

Method Description
__construct ( mixed $userInfo, string $message = '', integer $code, Exception $previous = null )
getMessageKey ( ) This method should *not* be called normally. The purpose of this exception is to be a "flag" for code that will redirect the user to some "finish registration" page. If this message is shown to your user, then you're missing this piece of your code.
getUserInformation ( )

Method Details

__construct() public method

public __construct ( mixed $userInfo, string $message = '', integer $code, Exception $previous = null )
$userInfo mixed Any info to be used to help registration
$message string
$code integer
$previous Exception

getMessageKey() public method

This method should *not* be called normally. The purpose of this exception is to be a "flag" for code that will redirect the user to some "finish registration" page. If this message is shown to your user, then you're missing this piece of your code.
public getMessageKey ( )

getUserInformation() public method

public getUserInformation ( )