mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
First commit
This commit is contained in:
25
src/oauth2server/Client.php
Normal file
25
src/oauth2server/Client.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user