PHP Class AuthBucket\OAuth2\GrantType\AuthorizationCodeGrantTypeHandler

Author: Wong Hoi Sing Edison ([email protected])
Inheritance: extends AbstractGrantTypeHandler
Show file Open project: authbucket/oauth2

Public Methods

Method Description
handle ( Request $request )

Private Methods

Method Description
checkCode ( Request $request, string $clientId ) : array Fetch code from POST.
checkRedirectUri ( Request $request, string $clientId ) : string Fetch redirect_uri from POST, or stored record.

Method Details

handle() public method

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