Guard (Contracts)

Guard

interface Guard (View source)

Methods

bool check()

Determine if the current user is authenticated.

bool guest()

Determine if the current user is a guest.

Authenticatable|null user()

Get the currently aut