Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ghstahl/8a6aef367e759e902f2937c86d8c128c to your computer and use it in GitHub Desktop.
Save ghstahl/8a6aef367e759e902f2937c86d8c128c to your computer and use it in GitHub Desktop.
public interface ICustomTokenRequestManager
{
void AddTokenRequestFunction(string key, Func<ManagedToken, IServiceProvider,IOAuth2CredentialManager, CancellationToken, Task<ManagedToken>> func);
Func<ManagedToken, IServiceProvider,IOAuth2CredentialManager, CancellationToken, Task<ManagedToken>> GetTokenRequestFunc(string key);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment