mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-02 19:51:03 +05:30
25 lines
351 B
PHP
25 lines
351 B
PHP
|
<?php
|
||
|
|
||
|
namespace LNCD\OAuth2server;
|
||
|
|
||
|
class Client
|
||
|
{
|
||
|
protected $id;
|
||
|
protected $secret;
|
||
|
protected $redirect_uri
|
||
|
|
||
|
public function __construct()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
public function validate(array $details)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
public function redirectUri(string $redirectUri, array $params, $queryDelimeter = '?')
|
||
|
{
|
||
|
// Generates the redirect uri with appended params
|
||
|
}
|
||
|
}
|