Skip to main content

TaskOwner

Type Alias TaskOwner 

Source
pub type TaskOwner = Option<String>;
Expand description

The principal a task belongs to.

None means the task was created without an authenticated context, which is the normal case for a server with no authentication configured.

SEP-2663 notes that a task ID can behave as a bearer token. Recording the owner is what stops the ID from being sufficient authority on its own once a second principal learns it.

Aliased Type§

pub enum TaskOwner {
    None,
    Some(String),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(String)

Some value of type T.