#NEWLINE# def AuthSubTokenFromUrl( url ) : #NEWLINE# #INDENT# "Extracts the AuthSub token from the URL. \n\n  Used after the AuthSub redirect has sent the user to the 'next' page and\n  appended the token to the URL. This function returns the value to be used\n  in the Authorization header. \n\n  Args:\n    url: str The URL of the current page which contains the AuthSub token as\n        a URL parameter.\n  " #NEWLINE# token = TokenFromUrl ( token ) #NEWLINE# if token : #NEWLINE# #INDENT# return ( 'AuthSub token=%s' % token ) #NEWLINE# #UNINDENT# return None