Class OAuthConfigBase
The Config class provides a central area for management of Module Configuration Settings.
Namespace: DotNetNuke.Services.Authentication.OAuth
Assembly: DotNetNuke.dll
Syntax
public class OAuthConfigBase : AuthenticationConfigBase
Constructors
| Improve this Doc View SourceOAuthConfigBase(String, Int32)
Initializes a new instance of the OAuthConfigBase class.
Declaration
protected OAuthConfigBase(string service, int portalId)
Parameters
Type | Name | Description |
---|---|---|
System.String | service | |
System.Int32 | portalId |
Properties
| Improve this Doc View SourceAPIKey
The Config class provides a central area for management of Module Configuration Settings.
Declaration
public string APIKey { get; set; }
Property Value
Type | Description |
---|---|
System.String |
APISecret
The Config class provides a central area for management of Module Configuration Settings.
Declaration
public string APISecret { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Enabled
The Config class provides a central area for management of Module Configuration Settings.
Declaration
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
HostConfig
The Config class provides a central area for management of Module Configuration Settings.
Declaration
public bool HostConfig { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Service
The Config class provides a central area for management of Module Configuration Settings.
Declaration
protected string Service { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceClearConfig(String, Int32)
The Config class provides a central area for management of Module Configuration Settings.
Declaration
public static void ClearConfig(string service, int portalId)
Parameters
Type | Name | Description |
---|---|---|
System.String | service | |
System.Int32 | portalId |
GetConfig(String, Int32)
The Config class provides a central area for management of Module Configuration Settings.
Declaration
public static OAuthConfigBase GetConfig(string service, int portalId)
Parameters
Type | Name | Description |
---|---|---|
System.String | service | |
System.Int32 | portalId |
Returns
Type | Description |
---|---|
OAuthConfigBase |
UpdateConfig(OAuthConfigBase)
The Config class provides a central area for management of Module Configuration Settings.
Declaration
public static void UpdateConfig(OAuthConfigBase config)
Parameters
Type | Name | Description |
---|---|---|
OAuthConfigBase | config |