1 2 3 4 5 6 7
use Cro::HTTP::Auth; class Crater::Session does Cro::HTTP::Auth { has Bool $.logged-in is rw; } subset LoggedIn of Crater::Session is export where *.logged-in;