<?php defined('SYSPATH') OR die('No direct access allowed.');

/**
 * OAuth Request Authorize
 *
 * @package    Kohana/OAuth2
 * @author     Deon George
 * @copyright  (c) 2009-2013 Deon George
 * @license    http://dev.leenooks.net/license.html
 */
abstract class Kohana_OAuth2_Request_Authorize extends OAuth2_Request {

	protected $name = 'authorize';

	public function execute(array $options = NULL)
	{
		return Request::current()->redirect($this->as_url());
	}

}