docs: def register_token_getter(self, provider):
          """ Register callback to retrieve token from session """
          app = oauth.remote_apps[provider]
          decorator = getattr(app, 'tokengetter')
  
          def getter(token=None):
              return self.token_getter(provider, token)
  
          decorator(getter)