org.openstreetmap.josm.plugins.streetside.oauth

## Interface StreetsideLoginListener

- All Known Implementing Classes:
    StreetsidePreferenceSetting

      public interface StreetsideLoginListener

  This interface should be implemented by components that want to get notified when the user logs in or logs out of his Streetside account. Such listeners can be registered e.g. at a `OAuthPortListener`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onLogin(String username)` Should be called whenever the user logs into a mapillary account.
    `void` | `onLogout()` Should be called whenever the user logs out of a mapillary account.

- - ### Method Detail

    - #### onLogin

          void onLogin(String username)

      Should be called whenever the user logs into a mapillary account. E.g. for updating the GUI to reflect the login status.
      Parameters:
        `username` - the username that the user is now logged in with

    - #### onLogout

          void onLogout()

      Should be called whenever the user logs out of a mapillary account. E.g. for updating the GUI to reflect the login status.

JOSM Plugins