aboutsummaryrefslogblamecommitdiffstats
path: root/vendor/bshaffer/oauth2-server-php/src/OAuth2/RequestInterface.php
blob: 1d036b7350db07455041afa566588c40130701de (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11





                          




                             

                                                  




                             

                                                    




                             

                                                   




                             

                                                    


                    

                                            
<?php

namespace OAuth2;

interface RequestInterface
{
    /**
     * @param string $name
     * @param mixed  $default
     * @return mixed
     */
    public function query($name, $default = null);

    /**
     * @param string $name
     * @param mixed  $default
     * @return mixed
     */
    public function request($name, $default = null);

    /**
     * @param string $name
     * @param mixed  $default
     * @return mixed
     */
    public function server($name, $default = null);

    /**
     * @param string $name
     * @param mixed  $default
     * @return mixed
     */
    public function headers($name, $default = null);

    /**
     * @return mixed
     */
    public function getAllQueryParameters();
}