C# Class NuGetGallery.AuthenticationController

Inheritance: Controller
ファイルを表示 Open project: NuGet/NuGetGallery

Public Methods

Method Description
AuthenticationController ( AuthenticationService authService, IUserService userService, IMessageService messageService, ICredentialBuilder credentialBuilder ) : System
LinkExternalAccount ( string returnUrl ) : Task

Private Methods

Method Description
AssociateCredential ( AuthenticatedUser user ) : Task
AuthenticateGet ( string returnUrl, string provider ) : System.Web.Mvc.ActionResult
AuthenticatePost ( string returnUrl, string provider ) : System.Web.Mvc.ActionResult
ChallengeAuthentication ( string returnUrl, string provider ) : System.Web.Mvc.ActionResult
ExternalLinkExpired ( ) : System.Web.Mvc.ActionResult
GetProviders ( ) : List
LogOff ( string returnUrl ) : System.Web.Mvc.ActionResult
LogOn ( string returnUrl ) : System.Web.Mvc.ActionResult
LogOnView ( ) : System.Web.Mvc.ActionResult
LogOnView ( LogOnViewModel existingModel ) : ActionResult
RedirectFromRegister ( string returnUrl ) : ActionResult
Register ( LogOnViewModel model, string returnUrl, bool linkingAccount ) : Task
RegisterLegacy ( string returnUrl ) : ActionResult
ShouldChallengeEnforcedProvider ( string enforcedProviders, AuthenticatedUser authenticatedUser, string returnUrl, ActionResult &challenge ) : bool
SignIn ( LogOnViewModel model, string returnUrl, bool linkingAccount ) : Task

Method Details

AuthenticationController() public method

public AuthenticationController ( AuthenticationService authService, IUserService userService, IMessageService messageService, ICredentialBuilder credentialBuilder ) : System
authService AuthenticationService
userService IUserService
messageService IMessageService
credentialBuilder ICredentialBuilder
return System

LinkExternalAccount() public method

public LinkExternalAccount ( string returnUrl ) : Task
returnUrl string
return Task