Class AuthenticationApiClientExtensions
- Namespace
- Auth0.AuthenticationApi
- Assembly
- Auth0.AuthenticationApi.dll
Additional operations that can be performed against a IAuthenticationApiClient.
public static class AuthenticationApiClientExtensions
- Inheritance
-
AuthenticationApiClientExtensions
- Inherited Members
Methods
BuildAuthorizationUrl(IAuthenticationApiClient)
Creates a AuthorizationUrlBuilder for building an authorization URL.
public static AuthorizationUrlBuilder BuildAuthorizationUrl(this IAuthenticationApiClient client)
Parameters
client
IAuthenticationApiClientIAuthenticationApiClient capable of providing the Base URL.
Returns
- AuthorizationUrlBuilder
A new AuthorizationUrlBuilder configured for this baseUrl.
BuildLogoutUrl(IAuthenticationApiClient)
Creates a LogoutUrlBuilder for building a logout URL.
public static LogoutUrlBuilder BuildLogoutUrl(this IAuthenticationApiClient client)
Parameters
client
IAuthenticationApiClientIAuthenticationApiClient capable of providing the Base URL.
Returns
- LogoutUrlBuilder
A new LogoutUrlBuilder configured for this baseUrl.
BuildSamlUrl(IAuthenticationApiClient, string)
Creates a SamlUrlBuilder for building a SAML authentication URL.
public static SamlUrlBuilder BuildSamlUrl(this IAuthenticationApiClient client, string clientId)
Parameters
client
IAuthenticationApiClientIAuthenticationApiClient capable of providing the Base URL.
clientId
stringID of the client.
Returns
- SamlUrlBuilder
A new SamlUrlBuilder configured for this baseUrl and
client
.
BuildWsFedUrl(IAuthenticationApiClient)
Creates a WsFedUrlBuilder for building a WS-Federation authentication URL.
public static WsFedUrlBuilder BuildWsFedUrl(this IAuthenticationApiClient client)
Parameters
client
IAuthenticationApiClientIAuthenticationApiClient capable of providing the Base URL.
Returns
- WsFedUrlBuilder
A new WsFedUrlBuilder configured for this baseUrl.