InteractsWithAuthentication
trait InteractsWithAuthentication (View source)
Methods
$this
seeIsAuthenticated(
string|null $guard = null)
Assert that the user is authenticated.
$this
dontSeeIsAuthenticated(
string|null $guard = null)
Assert that the user is not authenticated.
$this
seeIsAuthenticatedAs($user,
string|null $guard = null)
Assert that the user is authenticated as the given user.
$this
seeCredentials(
array $credentials,
string|null $guard = null)
Assert that the given credentials are valid.
$this
dontSeeCredentials(
array $credentials,
string|null $guard = null)
Assert that the given credentials are invalid.
Details
at line line 13
$this
seeIsAuthenticated(
string|null $guard = null)
Assert that the user is authenticated.
at line line 26
$this
dontSeeIsAuthenticated(
string|null $guard = null)
Assert that the user is not authenticated.
at line line 51
$this
seeIsAuthenticatedAs($user,
string|null $guard = null)
Assert that the user is authenticated as the given user.
at line line 68
$this
seeCredentials(
array $credentials,
string|null $guard = null)
Assert that the given credentials are valid.
at line line 84
$this
dontSeeCredentials(
array $credentials,
string|null $guard = null)
Assert that the given credentials are invalid.