PHP Class App\Exceptions\OAuthExceptionHandler

Show file Open project: joselfonseca/laravel-api

Public Methods

Method Description
handle ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed

Protected Methods

Method Description
accessDenied ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed
invalidClient ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed
invalidCredentials ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed
invalidGrant ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed
invalidRequest ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed
invalidScope ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed
serverError ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed
unauthorizedClient ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed
unsupportedGrantType ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed
unsupportedResponseType ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed

Method Details

accessDenied() protected method

protected accessDenied ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed
$e League\OAuth2\Server\Exception\OAuthException
return mixed

handle() public method

public handle ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed
$e League\OAuth2\Server\Exception\OAuthException
return mixed

invalidClient() protected method

protected invalidClient ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed
$e League\OAuth2\Server\Exception\OAuthException
return mixed

invalidCredentials() protected method

protected invalidCredentials ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed
$e League\OAuth2\Server\Exception\OAuthException
return mixed

invalidGrant() protected method

protected invalidGrant ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed
$e League\OAuth2\Server\Exception\OAuthException
return mixed

invalidRequest() protected method

protected invalidRequest ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed
$e League\OAuth2\Server\Exception\OAuthException
return mixed

invalidScope() protected method

protected invalidScope ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed
$e League\OAuth2\Server\Exception\OAuthException
return mixed

serverError() protected method

protected serverError ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed
$e League\OAuth2\Server\Exception\OAuthException
return mixed

unauthorizedClient() protected method

protected unauthorizedClient ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed
$e League\OAuth2\Server\Exception\OAuthException
return mixed

unsupportedGrantType() protected method

protected unsupportedGrantType ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed
$e League\OAuth2\Server\Exception\OAuthException
return mixed

unsupportedResponseType() protected method

protected unsupportedResponseType ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed
$e League\OAuth2\Server\Exception\OAuthException
return mixed