An agent has such authority as the principal, actually or ostensibly, confers upon him.
(Enacted 1872.)