Authenticated external principal presented by a channel boundary.
The raw provider principal is reduced to an opaque identifier at construction time. Similar names, numbers, address-book entries, or message text never imply that two values represent the same Subject.
Summary
Functions
Converts an authenticated normalized input source into an identity.
Returns the exact, opaque identity key used by the Subject Registry.
Builds an authenticated external identity.
Types
Functions
@spec from_source( Spectre.Input.Source.t(), keyword() ) :: t()
Converts an authenticated normalized input source into an identity.
Channel adapters must call this only after authenticating the endpoint and sender; the core does not infer authentication from source fields.
Returns the exact, opaque identity key used by the Subject Registry.
Builds an authenticated external identity.
Pass the provider's authenticated identifier as :principal_id,
:external_id, or :actor_id. It is hashed and is not retained.