2012-07-05 22:08:58 +05:30
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace LNCD\OAuth2server;
|
|
|
|
|
|
|
|
class Client
|
|
|
|
{
|
2012-07-06 18:01:26 +05:30
|
|
|
protected $id;
|
|
|
|
protected $secret;
|
|
|
|
protected $redirect_uri;
|
2012-07-05 22:08:58 +05:30
|
|
|
|
2012-07-06 18:01:26 +05:30
|
|
|
public function __construct()
|
|
|
|
{
|
2012-07-05 22:08:58 +05:30
|
|
|
|
2012-07-06 18:01:26 +05:30
|
|
|
}
|
2012-07-05 22:08:58 +05:30
|
|
|
|
2012-07-06 18:01:26 +05:30
|
|
|
public function validate(array $details)
|
|
|
|
{
|
2012-07-05 22:08:58 +05:30
|
|
|
|
2012-07-06 18:01:26 +05:30
|
|
|
}
|
2012-07-05 22:08:58 +05:30
|
|
|
|
2012-07-06 18:12:39 +05:30
|
|
|
public function redirectUri(string $redirectUri, array $params, $queryDelimeter = '?')
|
2012-07-06 18:01:26 +05:30
|
|
|
{
|
|
|
|
// Generates the redirect uri with appended params
|
|
|
|
}
|
2012-07-05 22:08:58 +05:30
|
|
|
}
|