summaryrefslogtreecommitdiff
path: root/oauthlib/oauth1/rfc5849/request_validator.py
diff options
context:
space:
mode:
authorTyler Jones <tyler@squirly.ca>2013-08-01 17:05:38 -0700
committerTyler Jones <tyler@squirly.ca>2013-08-01 17:05:38 -0700
commit517e01f5db428fe4c3e56119faad1760a8841c9f (patch)
treefbde8ceaf25b34611b2b7ebb212b6592cbf58164 /oauthlib/oauth1/rfc5849/request_validator.py
parentcddd41f82acbbbedd856733d2a73ec14f292d5a7 (diff)
downloadoauthlib-517e01f5db428fe4c3e56119faad1760a8841c9f.tar.gz
Document possibility and handling of oob callback in get_redirect_uri.
Diffstat (limited to 'oauthlib/oauth1/rfc5849/request_validator.py')
-rw-r--r--oauthlib/oauth1/rfc5849/request_validator.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/oauthlib/oauth1/rfc5849/request_validator.py b/oauthlib/oauth1/rfc5849/request_validator.py
index 70ce6d9..933a65a 100644
--- a/oauthlib/oauth1/rfc5849/request_validator.py
+++ b/oauthlib/oauth1/rfc5849/request_validator.py
@@ -360,12 +360,16 @@ class RequestValidator(object):
raise NotImplementedError("Subclasses must implement this function.")
def get_redirect_uri(self, token, request):
- """Get the redirect uri associated with a request token.
+ """Get the redirect URI associated with a request token.
:param token: The request token string.
:param request: An oauthlib.common.Request object.
:returns: The redirect URI associated with the request token.
+ It may be desirable to return a custom URI if the redirect is set to "oob".
+ In this case, the user will be redirected to the returned URI and at that
+ endpoint the verifier can be displayed.
+
This method is used by
* AuthorizationEndpoint