SlyAPI.flow#

Authorization wizards for OAuth1 and OAuth2

Functions

grant_oauth1(app_file, out_file)

grant_oauth2(app_file, out_file, scopes)

grant_wizard(scopesType[, dry_run, kind])

pick_scopes(scopesType)

scaffold_oauth1(file[, override])

scaffold_oauth2(file[, override])

scaffold_wizard([kind, override])

await SlyAPI.flow.grant_oauth1(app_file, out_file)[source]#
Parameters:
  • app_file (str) –

  • out_file (str) –

await SlyAPI.flow.grant_oauth2(app_file, out_file, scopes)[source]#
Parameters:
SlyAPI.flow.pick_scopes(scopesType)[source]#
Parameters:

scopesType (type) –

SlyAPI.flow.scaffold_oauth1(file, override=None)[source]#
Parameters:
SlyAPI.flow.scaffold_oauth2(file, override=None)[source]#
Parameters:
SlyAPI.flow.scaffold_wizard(kind=None, override=None)[source]#
Parameters:
await SlyAPI.flow.grant_wizard(scopesType, dry_run=False, kind=None)[source]#
Parameters:
  • scopesType (type | None) –

  • dry_run (bool) –

  • kind (str | None) –