Interface LoginService

  • All Superinterfaces:
    Service
    All Known Subinterfaces:
    LoginServiceLocal

    public interface LoginService
    extends Service
    Service used to provide login for users via web services
    • Method Detail

      • getLoginData

        LoginData getLoginData​(@NotNull
                               @NotNull String channelName,
                               Long deviceId,
                               PinLocatorVO pinLocator)
                        throws FrameworkException
        Returns the data for user login according to the given channel name and based in the current session configuration.
        Parameters:
        deviceId - (Optional) A trusted device id can be given to know if it is operative, if so then a pending device confirmation will be created (in a new read-write transaction) and its id returned in the result data. Otherwise no confirmation will be created.
        pinLocator - (Optional) A device pin locator can be given to know it it is operative
        Throws:
        FrameworkException
      • replaceSession

        String replaceSession()
                       throws FrameworkException
        Replaces the current session token with another one. Only works if the current authentication is done via a session. The current session will have a new token generated, and that token is returned. If not connected as a session, will return null.
        Throws:
        FrameworkException