Removed unnecessary files

This commit is contained in:
Alex Bilbie 2012-07-06 17:56:15 +01:00
parent d01720bcc2
commit 2b44f0fd81
3 changed files with 0 additions and 68 deletions

View File

@ -1,27 +0,0 @@
<?php
namespace LNCD\OAuth2server;
class AccessToken
{
public function __construct()
{
}
public function get(int $sessionId)
{
// returns an access token that the user may already have
// (else generate a new one)
}
public function validate(string $accessToken, array $scopes)
{
// tests if an access token is valid
}
private function set(int $sessionId)
{
// generate a new access token
}
}

View File

@ -1,25 +0,0 @@
<?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
}
}

View File

@ -1,16 +0,0 @@
<?php
namespace LNCD\OAuth2server;
class Scope
{
public function exists(string $scope)
{
// tests if a scope exists
}
public function details($scopes)
{
// returns details about a scope to display to a user
}
}