<?php

interface OAuth2_ResponseType_AuthorizationCodeInterface extends OAuth2_ResponseTypeInterface
{
    /**
     * @return
     * TRUE if the grant type requires a redirect_uri, FALSE if not
     */
    public function enforceRedirect();

    public function createAuthorizationCode($client_id, $user_id, $redirect_uri, $scope = null);
}
