Interface IMemberApplicationManager
Represents a contract for managing member applications in the Umbraco CMS infrastructure.
Namespace: Umbraco.Cms.Infrastructure.Security
Assembly: Umbraco.Infrastructure.dll
Syntax
public interface IMemberApplicationManager
Methods
View SourceDeleteMemberApplicationAsync(CancellationToken)
Asynchronously deletes the member application.
Declaration
Task DeleteMemberApplicationAsync(CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | A System.Threading.CancellationToken to observe while waiting for the task to complete. |
Returns
| Type | Description |
|---|---|
| Task | A System.Threading.Tasks.Task representing the asynchronous delete operation. |
DeleteMemberClientCredentialsApplicationAsync(string, CancellationToken)
Asynchronously deletes the member client credentials application associated with the specified client ID.
Declaration
Task DeleteMemberClientCredentialsApplicationAsync(string clientId, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | clientId | The client ID of the application to delete. |
| CancellationToken | cancellationToken | A token to monitor for cancellation requests. |
Returns
| Type | Description |
|---|---|
| Task | A task representing the asynchronous operation. |
EnsureMemberApplicationAsync(IEnumerable<Uri>, IEnumerable<Uri>, CancellationToken)
Ensures the member application is configured with the specified login and logout redirect URLs.
Declaration
Task EnsureMemberApplicationAsync(IEnumerable<Uri> loginRedirectUrls, IEnumerable<Uri> logoutRedirectUrls, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<Uri> | loginRedirectUrls | The collection of URIs to redirect to after login. |
| IEnumerable<Uri> | logoutRedirectUrls | The collection of URIs to redirect to after logout. |
| CancellationToken | cancellationToken | A token to monitor for cancellation requests. |
Returns
| Type | Description |
|---|---|
| Task | A task representing the asynchronous operation. |
EnsureMemberClientCredentialsApplicationAsync(string, string, CancellationToken)
Ensures that a member client credentials application exists for the specified client ID and secret, creating it if necessary.
Declaration
Task EnsureMemberClientCredentialsApplicationAsync(string clientId, string clientSecret, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | clientId | The client ID for the member application. |
| string | clientSecret | The client secret associated with the client ID. |
| CancellationToken | cancellationToken | A token to monitor for cancellation requests. |
Returns
| Type | Description |
|---|---|
| Task | A task that represents the asynchronous ensure operation. |