Package com.auth0.client.auth
Class LogoutUrlBuilder
java.lang.Object
com.auth0.client.auth.LogoutUrlBuilder
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 Summary
Modifier and TypeMethodDescriptionbuild()Creates a string representation of the URL with the configured parameters.useFederated(boolean federated) Request Federated logout.
-
Method Details
-
useFederated
Request Federated logout.- Parameters:
federated- whether or not to request Federated logout.- Returns:
- the builder instance
-
build
Creates a string representation of the URL with the configured parameters.- Returns:
- the string URL
-