This is a convenience function which returns whether authentication is required at all, regardless of the method used.
This relies on the convention of setting method to "none" when
authentication is not
required.
this |
whether authentication is required at all |