forked from stove/dataset
add oauth2 function
This commit is contained in:
parent
8009fe9553
commit
1f2328732f
1 changed files with 4 additions and 0 deletions
|
@ -0,0 +1,4 @@
|
|||
def calc_oauth2_client_external(external, location, *extras):
|
||||
if not external or not location or None in extras:
|
||||
return
|
||||
return f'https://{external}{location[0]}' + ''.join(extras)
|
Loading…
Reference in a new issue