Class LoginRoutes


  • public final class LoginRoutes
    extends Object
    The routes that specify the endpoints used for login and logout requests.
    • Constructor Detail

      • LoginRoutes

        public LoginRoutes()
    • Method Detail

      • logoutEndpoint

        public String logoutEndpoint()
        Get the logoutEndpoint property: The endpoint at which a logout request should be made.
        Returns:
        the logoutEndpoint value.
      • withLogoutEndpoint

        public LoginRoutes withLogoutEndpoint​(String logoutEndpoint)
        Set the logoutEndpoint property: The endpoint at which a logout request should be made.
        Parameters:
        logoutEndpoint - the logoutEndpoint value to set.
        Returns:
        the LoginRoutes object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.