Class LogoutUrlBuilder
- Namespace
- Auth0.AuthenticationApi.Builders
- Assembly
- Auth0.AuthenticationApi.dll
Builder class used to fluently construct a logout URL.
public class LogoutUrlBuilder : UrlBuilderBase<LogoutUrlBuilder>
- Inheritance
-
LogoutUrlBuilder
- Inherited Members
Remarks
Constructors
LogoutUrlBuilder(string)
Initializes a new instance of the LogoutUrlBuilder class.
public LogoutUrlBuilder(string baseUrl)
Parameters
LogoutUrlBuilder(Uri)
Initializes a new instance of the LogoutUrlBuilder class.
public LogoutUrlBuilder(Uri baseUrl)
Parameters
Methods
Federated()
Adds the federated
flag query string parameter (no value).
public LogoutUrlBuilder Federated()
Returns
- LogoutUrlBuilder
Current LogoutUrlBuilder to allow fluent configuration.
WithClientId(string)
Adds the client_id
query string parameter specifying the Client ID of the application.
public LogoutUrlBuilder WithClientId(string clientId)
Parameters
clientId
stringClient ID of the application.
Returns
- LogoutUrlBuilder
Current LogoutUrlBuilder to allow fluent configuration.
WithReturnUrl(string)
Adds the redirect_uri
query string parameter specifying the redirect URI.
public LogoutUrlBuilder WithReturnUrl(string uri)
Parameters
uri
stringURI to redirect to.
Returns
- LogoutUrlBuilder
Current LogoutUrlBuilder to allow fluent configuration.
WithReturnUrl(Uri)
Adds the redirect_uri
query string parameter specifying the redirect URI.
public LogoutUrlBuilder WithReturnUrl(Uri uri)
Parameters
Returns
- LogoutUrlBuilder
Current LogoutUrlBuilder to allow fluent configuration.