Class AuthenticationController
Inheritance
AuthenticationController
Assembly: DotNetNuke.dll
Syntax
public class AuthenticationController
Constructors
AuthenticationController()
Declaration
public AuthenticationController()
Methods
AddAuthentication(AuthenticationInfo)
Declaration
public static int AddAuthentication(AuthenticationInfo authSystem)
Parameters
Returns
AddUserAuthentication(int, string, string)
Declaration
public static int AddUserAuthentication(int userID, string authenticationType, string authenticationToken)
Parameters
Type |
Name |
Description |
int |
userID |
|
string |
authenticationType |
|
string |
authenticationToken |
|
Returns
DeleteAuthentication(AuthenticationInfo)
Declaration
public static void DeleteAuthentication(AuthenticationInfo authSystem)
Parameters
GetAuthenticationService(int)
Declaration
public static AuthenticationInfo GetAuthenticationService(int authenticationID)
Parameters
Type |
Name |
Description |
int |
authenticationID |
|
Returns
GetAuthenticationServiceByPackageID(int)
Declaration
public static AuthenticationInfo GetAuthenticationServiceByPackageID(int packageID)
Parameters
Type |
Name |
Description |
int |
packageID |
|
Returns
GetAuthenticationServiceByType(string)
Declaration
public static AuthenticationInfo GetAuthenticationServiceByType(string authenticationType)
Parameters
Type |
Name |
Description |
string |
authenticationType |
|
Returns
GetAuthenticationServices()
Declaration
public static List<AuthenticationInfo> GetAuthenticationServices()
Returns
GetAuthenticationType()
Declaration
public static AuthenticationInfo GetAuthenticationType()
Returns
GetEnabledAuthenticationServices()
Declaration
public static List<AuthenticationInfo> GetEnabledAuthenticationServices()
Returns
GetLogoffRedirectURL(PortalSettings, HttpRequest)
Declaration
public static string GetLogoffRedirectURL(PortalSettings settings, HttpRequest request)
Parameters
Returns
GetUserAuthentication(int)
Declaration
public static UserAuthenticationInfo GetUserAuthentication(int userID)
Parameters
Type |
Name |
Description |
int |
userID |
|
Returns
HasSocialAuthenticationEnabled(UserControl)
Declaration
public static bool HasSocialAuthenticationEnabled(UserControl control = null)
Parameters
Returns
IsEnabledForPortal(AuthenticationInfo, int)
Declaration
public static bool IsEnabledForPortal(AuthenticationInfo authentication, int portalId)
Parameters
Returns
SetAuthenticationType(string)
Declaration
public static void SetAuthenticationType(string value)
Parameters
Type |
Name |
Description |
string |
value |
|
SetAuthenticationType(string, bool)
Declaration
public static void SetAuthenticationType(string value, bool createPersistentCookie)
Parameters
Type |
Name |
Description |
string |
value |
|
bool |
createPersistentCookie |
|
UpdateAuthentication(AuthenticationInfo)
Declaration
public static void UpdateAuthentication(AuthenticationInfo authSystem)
Parameters
Extension Methods