Guard (Auth)

Guard

class Guard implements Guard (View source)

Methods

void __construct( UserProvider $provider, SessionInterface $session, Request $request = null)

Create a new authentication guard.

bool check()

Determine if the current user is authenticated.