Interface ITemplatesClient
- Namespace
- Auth0.ManagementApi.Branding
- Assembly
- Auth0.ManagementApi.dll
public interface ITemplatesClient
- Extension Methods
Methods
DeleteUniversalLoginAsync(RequestOptions?, CancellationToken)
Task DeleteUniversalLoginAsync(RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
optionsRequestOptionscancellationTokenCancellationToken
Returns
GetUniversalLoginAsync(RequestOptions?, CancellationToken)
WithRawResponseTask<GetUniversalLoginTemplateResponseContent> GetUniversalLoginAsync(RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
optionsRequestOptionscancellationTokenCancellationToken
Returns
UpdateUniversalLoginAsync(UpdateUniversalLoginTemplateRequestContent, RequestOptions?, CancellationToken)
Update the Universal Login branding template.
When content-type header is set to application/json:
{
"template": "{% assign resolved_dir = dir | default: \"auto\" %}<html lang=\"{{locale}}\" dir=\"{{resolved_dir}}\"><head>{%- auth0:head -%}</head><body class=\"_widget-auto-layout\">{%- auth0:widget -%}</body></html>"
}
When content-type header is set to text/html:
{% assign resolved_dir = dir | default: "auto" %}
<html lang="{{locale}}" dir="{{resolved_dir}}">
<head>
{%- auth0:head -%}
</head>
<body class="_widget-auto-layout">
{%- auth0:widget -%}
</body>
</html>
Task UpdateUniversalLoginAsync(UpdateUniversalLoginTemplateRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
requestUpdateUniversalLoginTemplateRequestContentoptionsRequestOptionscancellationTokenCancellationToken