Interface ISmtpOAuthController
A contract specifying the ability to retrieve the SMTP OAuth providers.
Namespace: DotNetNuke.Services.Mail.OAuth
Assembly: DotNetNuke.dll
Syntax
public interface ISmtpOAuthController
Methods
| Improve this Doc View SourceGetOAuthProvider(String)
Get an OAuth provider by name.
Declaration
ISmtpOAuthProvider GetOAuthProvider(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The provider name. |
Returns
Type | Description |
---|---|
ISmtpOAuthProvider | The OAuth provider or null. |
GetOAuthProviders()
Get all the OAuth providers.
Declaration
IReadOnlyCollection<ISmtpOAuthProvider> GetOAuthProviders()
Returns
Type | Description |
---|---|
IReadOnlyCollection<ISmtpOAuthProvider> | OAuth providers list. |