Class LogoutUrlBuilder

java.lang.Object
com.auth0.client.auth.LogoutUrlBuilder

public class LogoutUrlBuilder extends Object
Class that provides the methods to generate a valid Auth0 Logout Url. It's based on the https://auth0.com/docs/api/authentication#logout docs.

This class is not thread-safe: It makes use of HashMap for storing the parameters. Make sure to not call the builder methods from a different or un-synchronized thread.

  • Method Details

    • useFederated

      public LogoutUrlBuilder useFederated(boolean federated)
      Request Federated logout.
      Parameters:
      federated - whether or not to request Federated logout.
      Returns:
      the builder instance
    • build

      public String build()
      Creates a string representation of the URL with the configured parameters.
      Returns:
      the string URL