Method RequireSignedCapability
- Namespace
- MailFathom.Application.Access
- Assembly
- MailFathom.Application.dll
RequireSignedCapability()
Requires that a capability this deployment signed is what reached this use case.
public void RequireSignedCapability()
Remarks
The capability is the authorization, so no permission is asked for beside it. What confines the work is the verified ticket the use case is separately handed, which names one object and expires; this method establishes only that a signature rather than an unidentified caller is what got here.
Exceptions
- PrincipalNotAuthorizedException
Thrown when the work was reached under no principal, or under one that is not a verified capability.