Each framework typically has its own way of handling authentication, so refer to its documentation for specifics.
These methods help ensure that only authorized users can access your protected URL.