Interface IMailOAuthSettingsProvider
- Namespace
- MailFathom.Infrastructure.Mail.OAuth
- Assembly
- MailFathom.Infrastructure.dll
Resolves token endpoint settings for accounts that authenticate with an access token.
public interface IMailOAuthSettingsProvider
Remarks
The port carries behavior rather than exposing bound configuration, for the reason IImapAccountSettingsProvider does: it resolves the account's secret references at the moment a token is about to be requested and hands the material to the caller, so no settings object holds a live client secret between requests.
Methods
- GetSettingsAsync(string, CancellationToken)
Gets token endpoint settings for one local account identifier, resolving its client secret and refresh token.