Add nonce to _extract_params function.

This commit is contained in:
juanifioren 2015-07-15 15:16:51 -03:00
parent e030203f0b
commit 6fc6126a62

View file

@ -52,13 +52,6 @@ class AuthorizeEndpoint(object):
self.params.response_type = self.query_dict.get('response_type', '') self.params.response_type = self.query_dict.get('response_type', '')
self.params.scope = self.query_dict.get('scope', '').split() self.params.scope = self.query_dict.get('scope', '').split()
self.params.state = self.query_dict.get('state', '') self.params.state = self.query_dict.get('state', '')
def _extract_implicit_params(self):
"""
Get specific params used by the Implicit Flow.
See: http://openid.net/specs/openid-connect-core-1_0.html#ImplicitAuthRequest
"""
self.params.nonce = self.query_dict.get('nonce', '') self.params.nonce = self.query_dict.get('nonce', '')
def validate_params(self): def validate_params(self):