mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-22 21:19:46 +05:30
Merge branch 'refs/heads/master' into develop
This commit is contained in:
commit
0db10063ac
@ -38,6 +38,10 @@ The resource server allows you to secure your API endpoints by checking for a va
|
|||||||
* Support for [JSON web tokens](http://tools.ietf.org/wg/oauth/draft-ietf-oauth-json-web-token/).
|
* 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/).
|
* Support for [SAML assertions](http://tools.ietf.org/wg/oauth/draft-ietf-oauth-saml2-bearer/).
|
||||||
|
|
||||||
|
### Client support
|
||||||
|
|
||||||
|
* Merge in https://github.com/philsturgeon/codeigniter-oauth2
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
This code will be developed as part of the [Linkey](http://linkey.blogs.lincoln.ac.uk) project which has been funded by [JISC](http://jisc.ac.uk) under the Access and Identity Management programme.
|
This code will be developed as part of the [Linkey](http://linkey.blogs.lincoln.ac.uk) project which has been funded by [JISC](http://jisc.ac.uk) under the Access and Identity Management programme.
|
@ -72,7 +72,7 @@ class Resource_Server_test extends PHPUnit_Framework_TestCase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @expectedException \Oauth2\Resource\OAuthResourceServerException
|
* @expectedException \Oauth2\Resource\ClientException
|
||||||
* @expectedExceptionMessage An access token was not presented with the request
|
* @expectedExceptionMessage An access token was not presented with the request
|
||||||
*/
|
*/
|
||||||
function test_init_missingToken()
|
function test_init_missingToken()
|
||||||
@ -81,7 +81,7 @@ class Resource_Server_test extends PHPUnit_Framework_TestCase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @expectedException \Oauth2\Resource\OAuthResourceServerException
|
* @expectedException \Oauth2\Resource\ClientException
|
||||||
* @expectedExceptionMessage The access token is not registered with the resource server
|
* @expectedExceptionMessage The access token is not registered with the resource server
|
||||||
*/
|
*/
|
||||||
function test_init_wrongToken()
|
function test_init_wrongToken()
|
||||||
|
Loading…
Reference in New Issue
Block a user