Fails the login when the server's way of authenticating is not one require_auth allows.
code is the AuthenticationRequest the server sent.
- c: the connection, for the error.
- config: its
require_authis quoted in the error. - policy: what
parse_require_authmade ofconfig.require_auth. - code: the AuthenticationRequest code the server sent.
check_auth_method :: (
c: *Connection,
config: Config,
policy: Auth_Policy,
code: u32
) -> Pg_Error
Fails the login when the server's way of authenticating is not one require_auth allows.
code is the AuthenticationRequest the server sent.
Parameters
- c: *Connection
- the connection, for the error.
- config: Config
- its
require_authis quoted in the error. - policy: Auth_Policy
- what
parse_require_authmade ofconfig.require_auth. - code: u32
- the AuthenticationRequest code the server sent.