Add doc to tests.
This commit is contained in:
parent
e64612cc40
commit
e40a62cecc
|
@ -2,7 +2,9 @@
|
||||||
Django OIDC Provider
|
Django OIDC Provider
|
||||||
####################
|
####################
|
||||||
|
|
||||||
OpenID Connect Provider implementation for Django. Read docs for more info. https://github.com/juanifioren/django-oidc-provider/wiki
|
OpenID Connect Provider implementation for Django.
|
||||||
|
|
||||||
|
Read docs for more info. https://github.com/juanifioren/django-oidc-provider/wiki
|
||||||
|
|
||||||
*************
|
*************
|
||||||
Running tests
|
Running tests
|
||||||
|
|
|
@ -99,6 +99,13 @@ class AuthorizationCodeFlowTestCase(TestCase):
|
||||||
self.assertEqual(is_next_ok, True)
|
self.assertEqual(is_next_ok, True)
|
||||||
|
|
||||||
def test_authorize_user_consent(self):
|
def test_authorize_user_consent(self):
|
||||||
|
"""
|
||||||
|
Once the End-User is authenticated, the Authorization Server MUST
|
||||||
|
obtain an authorization decision before releasing information to
|
||||||
|
the Client.
|
||||||
|
|
||||||
|
See: http://openid.net/specs/openid-connect-core-1_0.html#Consent
|
||||||
|
"""
|
||||||
response_type = 'code'
|
response_type = 'code'
|
||||||
|
|
||||||
url = self._create_authorize_url(response_type=response_type)
|
url = self._create_authorize_url(response_type=response_type)
|
||||||
|
|
Loading…
Reference in a new issue