-
splatnet3_scraper.auth.NSO.set_new_f_token_function(new_function=
None) Sets the function used to generate the
f_token.This method will set the function used to generate the
f_token. The function must take the following arguments:The
f_tokengeneration url.- The user’s token, either the
id_tokenfor step1, or the web_service_access_tokenfor step2.
- The user’s token, either the
The step number (either
1or2)
The function must return a tuple containing the following:
The
f_token.The request id.
The timestamp.
- Parameters:¶
- new_function : FToken_Gen¶
The new function to use to generate the ftoken. This function must take the following arguments:
The
f_tokengeneration url.- The user’s token, either the
id_tokenfor step1, or the
web_service_access_tokenfor step2.
- The user’s token, either the
The step number (either
1or2)
The function must return a tuple containing the following:
The
f_token.The request id.
The timestamp.
- None : If this argument is not provided or is
- default : the
- restored. : f_token generation method will be