Skip to main content

login_with_access_token

login_with_access_token()

  • Parameters

    • access_token (str) -- A valid access token retrieved from Layer.
    • url (Union[URL, str**]) -- Not used.
  • Raises

    • UserNotLoggedInException -- If the user is not logged in.
    • UserConfigurationError -- If Layer user is not configured correctly.
  • Return type

    None

Log in with an access token. You might be prompted to enter an access token from a web page that is provided.

layer.login_with_access_token(TOKEN)