C# Class Connect.DNN.Modules.SkinControls.Services.Authentication.AuthenticationController

Inheritance: DotNetNuke.Web.Api.DnnApiController
显示文件 Open project: DNN-Connect/SkinControls

Public Methods

Method Description
ApiUrl ( ) : string
CallbackUri ( string provider, int id, string mode, bool keep ) : Uri
GetActiveAuthenticationProviders ( int portalId ) : List
GetIpAddress ( ) : string
RegisterUser ( ) : DotNetNuke.Entities.Users.UserInfo
SetReturnUrlCookie ( string returnurl ) : void
ToMode ( string mode ) : AuthMode

Protected Methods

Method Description
AddCustomProperties ( NameValueCollection properties ) : void
CompleteUserCreation ( UserCreateStatus createStatus, DotNetNuke.Entities.Users.UserInfo newUser, bool notify, bool register ) : string
OnUserAuthenticated ( DotNetNuke.Services.Authentication.UserAuthenticatedEventArgs ea ) : void

Private Methods

Method Description
GetActiveAuthenticationProvidersCb ( DotNetNuke.Common.Utilities.CacheItemArgs cacheItemArgs ) : List
GetNotificationBody ( string locale, DotNetNuke.Entities.Users.UserInfo newUser, DotNetNuke.Entities.Portals.PortalSettings portalSettings ) : string
GetNotificationSubject ( string locale, DotNetNuke.Entities.Users.UserInfo newUser, DotNetNuke.Entities.Portals.PortalSettings portalSettings ) : string
LocalizeNotificationText ( string text, string locale, DotNetNuke.Entities.Users.UserInfo user, DotNetNuke.Entities.Portals.PortalSettings portalSettings ) : string
SendAdminNotification ( DotNetNuke.Entities.Users.UserInfo newUser, DotNetNuke.Entities.Portals.PortalSettings portalSettings ) : void

Method Details

AddCustomProperties() protected method

protected AddCustomProperties ( NameValueCollection properties ) : void
properties System.Collections.Specialized.NameValueCollection
return void

ApiUrl() public method

public ApiUrl ( ) : string
return string

CallbackUri() public method

public CallbackUri ( string provider, int id, string mode, bool keep ) : Uri
provider string
id int
mode string
keep bool
return System.Uri

CompleteUserCreation() protected method

protected CompleteUserCreation ( UserCreateStatus createStatus, DotNetNuke.Entities.Users.UserInfo newUser, bool notify, bool register ) : string
createStatus UserCreateStatus
newUser DotNetNuke.Entities.Users.UserInfo
notify bool
register bool
return string

GetActiveAuthenticationProviders() public static method

public static GetActiveAuthenticationProviders ( int portalId ) : List
portalId int
return List

GetIpAddress() public static method

public static GetIpAddress ( ) : string
return string

OnUserAuthenticated() protected method

protected OnUserAuthenticated ( DotNetNuke.Services.Authentication.UserAuthenticatedEventArgs ea ) : void
ea DotNetNuke.Services.Authentication.UserAuthenticatedEventArgs
return void

RegisterUser() public method

public RegisterUser ( ) : DotNetNuke.Entities.Users.UserInfo
return DotNetNuke.Entities.Users.UserInfo

SetReturnUrlCookie() public static method

public static SetReturnUrlCookie ( string returnurl ) : void
returnurl string
return void

ToMode() public method

public ToMode ( string mode ) : AuthMode
mode string
return AuthMode