Table of Contents

Method SignedCapability

Namespace
MailFathom.Application.Access
Assembly
MailFathom.Application.dll

SignedCapability(string)

Describes the principal a verified signature produced.

public static AuthorizedPrincipal SignedCapability(string authorizedObject)

Parameters

authorizedObject string

MailFathom's own description of the one object the signature was bounded to.

Returns

AuthorizedPrincipal

The principal the use case behind the capability is consulted with.

Remarks

The bound itself stays where a signature put it: the verified ticket the use case is handed names the object, and reading that is what confines the work. What this principal adds is the statement that a signature — rather than a credential or this process — is what authorized the work at all, so a use case reached under a capability admits that kind by name instead of admitting an unidentified caller.

Exceptions

ArgumentNullException

Thrown when authorizedObject is null.

ArgumentException

Thrown when authorizedObject is empty or white space.