namespace eSuite.API.SingleSignOn; /// /// Internal type used for controlling the single sign on process /// public interface ISingleSignOn { /// /// Start single sign on using an e-mail address /// /// /// /// Task StartSingleSignOn(string loginEmail, CancellationToken cancellationToken); /// /// Start single sign on using an ssoProviderId /// /// /// /// Task StartSingleSignOn(long ssoProviderId, CancellationToken cancellationToken); /// /// Exchange the authorisation Token and return the SubjectId if successful. /// /// /// /// /// Task ExchangeAuthorisationToken(long ssoProviderId, string code, CancellationToken cancellationToken); }