Skip to main content

AuthenticatedHttpActor

Trait AuthenticatedHttpActor 

Source
pub trait AuthenticatedHttpActor: Sized {
    const KIND: &'static str;

    // Required method
    fn from_assertion(assertion: &ActorAssertion) -> Self;
}
Expand description

An application-owned actor projection at the HTTP authentication boundary.

KIND distinguishes credential actor kinds such as user or admin. Roles, permissions, tenant access, and resource ownership remain target-owned authorization concerns and must not be decided by this projection. This is deliberately separate from lenso_auth_sdk::TypedActor, which is projected only after the target verifies assertion provenance, audience, validity, and proof.

Required Associated Constants§

Source

const KIND: &'static str

Auth assertion actor kind accepted by this extractor.

Required Methods§

Source

fn from_assertion(assertion: &ActorAssertion) -> Self

Builds the application’s ingress actor after the kind has matched.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§