Skip to content

Commit

Permalink
Changed all mentions of authentication to authorization server
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbilbie committed Feb 20, 2013
1 parent 6c00aea commit 43d0647
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 12 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 1.0.0 (released 2012-02-15)
## 1.0.2 (released 2013-02-20)

* Fixed MySQL create table order
* Fixed version number in composer.json

## 1.0.1 (released 2013-02-19)

* Updated AuthServer.php to use `self::getParam()`

## 1.0.0 (released 2013-02-15)

* First release
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# PHP OAuth Framework

The goal of this project is to develop a standards compliant [OAuth 2](http://tools.ietf.org/wg/oauth/draft-ietf-oauth-v2/) authentication server and resource server.
The goal of this project is to develop a standards compliant [OAuth 2](http://tools.ietf.org/wg/oauth/draft-ietf-oauth-v2/) authorization server and resource server.

## Package Installation

Expand All @@ -20,11 +20,11 @@ The library features 100% unit test code coverage. To run the tests yourself run

## Current Features

### Authentication Server
### Authorization Server

The authentication server is a flexible class and following core specification grants are implemented:
The authorization server is a flexible class and following core specification grants are implemented:

* authentication code ([section 4.1](http://tools.ietf.org/html/rfc6749#section-4.1))
* authorization code ([section 4.1](http://tools.ietf.org/html/rfc6749#section-4.1))
* refresh token ([section 6](http://tools.ietf.org/html/rfc6749#section-6))
* client credentials ([section 2.3.1](http://tools.ietf.org/html/rfc6749#section-2.3.1))
* password (user credentials) ([section 4.3](http://tools.ietf.org/html/rfc6749#section-4.3))
Expand All @@ -35,7 +35,7 @@ The resource server allows you to secure your API endpoints by checking for a va

## Future Goals

### Authentication Server
### Authorization Server

* Support for [JSON web tokens](http://tools.ietf.org/wg/oauth/draft-ietf-oauth-json-web-token/).
* Support for [SAML assertions](http://tools.ietf.org/wg/oauth/draft-ietf-oauth-saml2-bearer/).
Expand Down
4 changes: 2 additions & 2 deletions build/phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit colors="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" stopOnError="false" stopOnFailure="false" stopOnIncomplete="false" stopOnSkipped="false" bootstrap="../tests/Bootstrap.php">
<testsuites>
<testsuite name="Authentication Server">
<directory suffix="Test.php">../tests/authentication</directory>
<testsuite name="Authorization Server">
<directory suffix="Test.php">../tests/authorization</directory>
</testsuite>
<testsuite name="Resource Server">
<directory suffix="Test.php">../tests/resource</directory>
Expand Down
6 changes: 3 additions & 3 deletions src/OAuth2/AuthServer.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* OAuth 2.0 Authentication Server
* OAuth 2.0 Authorization Server
*
* @package lncd/oauth2
* @author Alex Bilbie <hello@alexbilbie.com>
Expand All @@ -19,7 +19,7 @@
use OAuth2\Grant\GrantTypeInterface;

/**
* OAuth 2.0 authentication server class
* OAuth 2.0 authorization server class
*/
class AuthServer
{
Expand Down Expand Up @@ -122,7 +122,7 @@ public static function getExceptionType($code = 0)
}

/**
* Create a new OAuth2 authentication server
* Create a new OAuth2 authorization server
*
* @param ClientInterface $client A class which inherits from Storage/ClientInterface
* @param SessionInterface $session A class which inherits from Storage/SessionInterface
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

use \Mockery as m;

class Authentication_Server_test extends PHPUnit_Framework_TestCase
class Authorization_Server_test extends PHPUnit_Framework_TestCase
{
private $client;
private $session;
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 43d0647

Please sign in to comment.