PATH:
home
/
lab2454c
/
costbloc.com
/
vendor
/
laravel
/
passport
/
src
/
Http
/
Controllers
<?php namespace Laravel\Passport\Http\Controllers; use Laravel\Passport\Exceptions\OAuthServerException; use League\OAuth2\Server\Exception\OAuthServerException as LeagueException; use Nyholm\Psr7\Response as Psr7Response; trait HandlesOAuthErrors { use ConvertsPsrResponses; /** * Perform the given callback with exception handling. * * @param \Closure $callback * @return mixed * * @throws \Laravel\Passport\Exceptions\OAuthServerException */ protected function withErrorHandling($callback) { try { return $callback(); } catch (LeagueException $e) { throw new OAuthServerException( $e, $this->convertResponse($e->generateHttpResponse(new Psr7Response)) ); } } }
[-] AuthorizedAccessTokenController.php
[edit]
[+]
..
[-] RetrievesAuthRequestFromSession.php
[edit]
[-] HandlesOAuthErrors.php
[edit]
[-] AccessTokenController.php
[edit]
[-] ClientController.php
[edit]
[-] ApproveAuthorizationController.php
[edit]
[-] ConvertsPsrResponses.php
[edit]
[-] PersonalAccessTokenController.php
[edit]
[-] ScopeController.php
[edit]
[-] AuthorizationController.php
[edit]
[-] TransientTokenController.php
[edit]
[-] DenyAuthorizationController.php
[edit]