oauth2-server/src/oauth2server/Client.php

25 lines
394 B
PHP
Raw Normal View History

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
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
}