Class BrandingClient
- Namespace
- Auth0.ManagementApi.Clients
- Assembly
- Auth0.ManagementApi.dll
Contains methods to access the /branding endpoints.
public class BrandingClient : BaseClient, IBrandingClient
- Inheritance
-
BrandingClient
- Implements
- Inherited Members
Constructors
BrandingClient(IManagementConnection, Uri, IDictionary<string, string>)
Initializes a new instance of BrandingClient.
public BrandingClient(IManagementConnection connection, Uri baseUri, IDictionary<string, string> defaultHeaders)
Parameters
connection
IManagementConnectionIManagementConnection used to make all API calls.
baseUri
UriUri of the endpoint to use in making API calls.
defaultHeaders
IDictionary<string, string>Dictionary containing default headers included with every request this client makes.
Methods
DeleteUniversalLoginTemplateAsync(CancellationToken)
Delete the template for the New Universal Login Experience
public Task DeleteUniversalLoginTemplateAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenThe cancellation token to cancel operation.
Returns
GetAsync(CancellationToken)
Retrieves branding settings for a tenant.
public Task<Branding> GetAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenThe cancellation token to cancel operation.
Returns
GetUniversalLoginTemplateAsync(CancellationToken)
Retrieves the template for the New Universal Login Experience.
public Task<UniversalLoginTemplate> GetUniversalLoginTemplateAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenThe cancellation token to cancel operation.
Returns
- Task<UniversalLoginTemplate>
The UniversalLoginTemplate for the new universal login experience.
SetUniversalLoginTemplateAsync(UniversalLoginTemplateUpdateRequest, CancellationToken)
Sets the template for the New Universal Login Experience.
public Task<UniversalLoginTemplate> SetUniversalLoginTemplateAsync(UniversalLoginTemplateUpdateRequest request, CancellationToken cancellationToken = default)
Parameters
request
UniversalLoginTemplateUpdateRequestThe UniversalLoginTemplateUpdateRequest containing details of the template to set.
cancellationToken
CancellationTokenThe cancellation token to cancel operation.
Returns
- Task<UniversalLoginTemplate>
The newly updated UniversalLoginTemplate.
UpdateAsync(BrandingUpdateRequest, CancellationToken)
s Updates the branding for a tenant.
public Task<Branding> UpdateAsync(BrandingUpdateRequest request, CancellationToken cancellationToken = default)
Parameters
request
BrandingUpdateRequestA BrandingUpdateRequest containing the branding information to update.
cancellationToken
CancellationTokenThe cancellation token to cancel operation.