Interface IAuthorizationContext
Supports ACME authorization operations.
Namespace: Certes.Acme
Assembly: Certes.dll
Syntax
public interface IAuthorizationContext : IResourceContext<Authorization>
Methods
| Edit this page View SourceChallenges(CancellationToken)
Gets the challenges for this authorization.
Declaration
Task<IEnumerable<IChallengeContext>> Challenges(CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | Cancels this operation. |
Returns
| Type | Description |
|---|---|
| Task<IEnumerable<IChallengeContext>> | The list fo challenges. |
Deactivate(CancellationToken)
Deactivates this authzorization.
Declaration
Task<Authorization> Deactivate(CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | Cancels this operation. |
Returns
| Type | Description |
|---|---|
| Task<Authorization> | The authorization deactivated. |