Skip to main content

mapillary.utils.auth

mapillary.utils.auth#

This module contains the authorization logic for the client class of Mapillary, responsible for keeping track of the session token set

For more information, please check out https://www.mapillary.com/developer/api-documentation/.

  • Copyright: (c) 2021 Facebook
  • License: MIT LICENSE

mapillary.utils.auth.auth()#

Wrap interface functions with logic for Client

mapillary.utils.auth.set_token(token: str)#

Allows the user to set access token to be able to interact with API v4

  • Parameters

    token โ€“ Access token

  • Returns

    Dictionary containing the access token