Skip to main content

update_session_status

Function update_session_status 

Source
pub fn update_session_status(
    session_id: B256,
    status: SessionStatus,
) -> Result<bool>
Expand description

Atomically update a session status in the registry.

Cleanup and terminal statuses (revoking, revoked, expired, failed) also clear the session-scoped private key material. Returns true when an entry was found and changed.