Interface IBackOfficeApplicationManager
Represents a contract for managing the state and operations of back office applications in Umbraco.
Namespace: Umbraco.Cms.Infrastructure.Security
Assembly: Umbraco.Infrastructure.dll
Syntax
public interface IBackOfficeApplicationManager
Methods
View SourceDeleteBackOfficeClientCredentialsApplicationAsync(string, CancellationToken)
Deletes a back office client credentials application by its client ID.
Declaration
Task DeleteBackOfficeClientCredentialsApplicationAsync(string clientId, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | clientId | The client ID of the application to delete. |
| CancellationToken | cancellationToken | A cancellation token to cancel the operation. |
Returns
| Type | Description |
|---|---|
| Task | A task representing the asynchronous delete operation. |
EnsureBackOfficeApplicationAsync(IEnumerable<Uri>, CancellationToken)
Ensures that the back office application is initialized and configured for the specified hosts.
Declaration
Task EnsureBackOfficeApplicationAsync(IEnumerable<Uri> backOfficeHosts, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<Uri> | backOfficeHosts | A collection of URIs representing the back office hosts to initialize. |
| CancellationToken | cancellationToken | A token to monitor for cancellation requests. Defaults to System.Threading.CancellationToken.None. |
Returns
| Type | Description |
|---|---|
| Task | A task that represents the asynchronous operation. |
EnsureBackOfficeClientCredentialsApplicationAsync(string, string, CancellationToken)
Declaration
Task EnsureBackOfficeClientCredentialsApplicationAsync(string clientId, string clientSecret, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | clientId | |
| string | clientSecret | |
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task |