Design Pattern Framework 3.5
AuthenticationController Class
Patterns-In-Action! Application ► ASPNETWebApplication.Controllers ► AuthenticationController
Controller class for user authentication.
Declaration Syntax
C# | Visual Basic |
public class AuthenticationController : ControllerBase
Public Class AuthenticationController _ Inherits ControllerBase
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
AuthenticationController()()() |
Initializes a new instance of the AuthenticationController class
|
|
AccessToken |
Gets or sets access token. If no token exists a new one is retrieved from service.
(Inherited from ControllerBase.) |
|
ActionServiceClient |
Lazy loads ActionServiceClient and stores it in Session object.
(Inherited from ControllerBase.) |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetToken()()() |
GetToken must be the first call into web service.
This is irrespective of whether user is logging in or not.
|
|
GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) |
|
Login(String, String) |
Login to the system.
|
|
Logout()()() |
Logout from from the system.
|
|
MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
NewRequestId |
Gets a new random GUID request id.
(Inherited from ControllerBase.) |
|
ToString()()() | (Inherited from Object.) |
Remarks
MV Pattern: Model View Controller Pattern.
This is a 'loose' implementation of the MVC pattern.
Inheritance Hierarchy
Object | ||
ControllerBase | ||
AuthenticationController |