Skip to contents

Check if a user is authenticated given internal state. This is useful in packages to make sure the user is authenticated before proceeding with a request.

Usage

is_auth()

Value

A logical value indicating whether the user is authenticated

See also

auth_login() to authenticate, auth_me() for full user details

Examples

if (FALSE) { # \dontrun{
is_auth()
} # }