[Authentication] Proposal to remove Negotiate, and just use OpenSession

Michael Leupold lemma at confuego.org
Sun Nov 29 23:28:00 PST 2009


On Saturday 28 November 2009 19:11:04 Stef Walter wrote:
> For the sake of API clarity, and a lot less gray areas in
> implementations, I'd like to remove Session.Negotiate() and use
> Service.OpenSession() for negotiation instead.
> 
> Detailed in the attached patch.

Agreed. There's no need to have both.

What should we return in case of error? A DBus error or simple an "empty" (/) 
object path?

Regards,
Michael


More information about the Authentication mailing list