Actual authority can be of two kinds. Either the principal may have expressly conferred authority on the agent, or authority may be implied. Authority arises by consensual agreement, and whether it exists is a question of fact. An agent, as a general rule, is only entitled to indemnity from the principal if they have acted within the scope of their actual authority, and if they act outside of that authority they may be in breach of contract, and liable to a third party for breach of the implied warranty of authority.