Class WsFedUrlBuilder
- Namespace
- Auth0.AuthenticationApi.Builders
- Assembly
- Auth0.AuthenticationApi.dll
Builder class used to fluently construct a WS-Federation authorization URL.
public class WsFedUrlBuilder : UrlBuilderBase<WsFedUrlBuilder>
- Inheritance
-
WsFedUrlBuilder
- Inherited Members
Constructors
WsFedUrlBuilder(string, string)
Initializes a new instance of the WsFedUrlBuilder class.
public WsFedUrlBuilder(string baseUrl, string clientId = null)
Parameters
baseUrlstringBase URL of the Authentication API represented as a string.
clientIdstringOptional Client ID of the application.
WsFedUrlBuilder(Uri, string)
Initializes a new instance of the WsFedUrlBuilder class.
public WsFedUrlBuilder(Uri baseUrl, string clientId = null)
Parameters
baseUrlUriBase URL of the Authentication API represented as a Uri.
clientIdstringOptional Client ID of the application.
Methods
WithClient(string)
Adds the client URL segment specifying the Client ID of the application.
public WsFedUrlBuilder WithClient(string clientId)
Parameters
clientIdstringClient ID of the application.
Returns
- WsFedUrlBuilder
Current WsFedUrlBuilder to allow fluent configuration.
WithWctx(IDictionary<string, string>)
Adds the wctx query string parameter.
public WsFedUrlBuilder WithWctx(IDictionary<string, string> values)
Parameters
valuesIDictionary<string, string>Dictionary containing the key-value pairs of the
wctxparameter.
Returns
- WsFedUrlBuilder
Current WsFedUrlBuilder to allow fluent configuration.
WithWctx(string)
Adds the wctx query string parameter.
public WsFedUrlBuilder WithWctx(string value)
Parameters
valuestringValue of the
wctxparameter in key-value pair format, e.g.
.xcrf=abc&ru=/foo
Returns
- WsFedUrlBuilder
Current WsFedUrlBuilder to allow fluent configuration.
WithWhr(string)
Adds the whr query string parameter.
public WsFedUrlBuilder WithWhr(string value)
Parameters
valuestringValue of the
whrparameter.
Returns
- WsFedUrlBuilder
Current WsFedUrlBuilder to allow fluent configuration.
WithWtrealm(string)
Adds the wtrealm query string parameter.
public WsFedUrlBuilder WithWtrealm(string value)
Parameters
valuestringValue of the
wtrealmquery string parameter.
Returns
- WsFedUrlBuilder
Current WsFedUrlBuilder to allow fluent configuration.