return_url#
- async gafaelfawr.dependencies.return_url.return_url(rd=Query(None), context=Depends(ContextDependency))#
Validate a return URL in an
rdparameter.- Returns:
The verified return URL, or
Noneif none was given.- Return type:
- Raises:
fastapi.HTTPException – An appropriate error if the return URL was invalid.
- Parameters:
context (
RequestContext, default:Depends(ContextDependency)) –