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
baseUrl
stringBase URL of the Authentication API represented as a string.
clientId
stringOptional Client ID of the application.
WsFedUrlBuilder(Uri, string)
Initializes a new instance of the WsFedUrlBuilder class.
public WsFedUrlBuilder(Uri baseUrl, string clientId = null)
Parameters
baseUrl
UriBase URL of the Authentication API represented as a Uri.
clientId
stringOptional 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
clientId
stringClient 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
values
IDictionary<string, string>Dictionary containing the key-value pairs of the
wctx
parameter.
Returns
- WsFedUrlBuilder
Current WsFedUrlBuilder to allow fluent configuration.
WithWctx(string)
Adds the wctx
query string parameter.
public WsFedUrlBuilder WithWctx(string value)
Parameters
value
stringValue of the
wctx
parameter 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
value
stringValue of the
whr
parameter.
Returns
- WsFedUrlBuilder
Current WsFedUrlBuilder to allow fluent configuration.
WithWtrealm(string)
Adds the wtrealm
query string parameter.
public WsFedUrlBuilder WithWtrealm(string value)
Parameters
value
stringValue of the
wtrealm
query string parameter.
Returns
- WsFedUrlBuilder
Current WsFedUrlBuilder to allow fluent configuration.