Design Pattern Framework 3.5
TokenRequest Class
Patterns-In-Action! Application ► ActionService.Messages ► TokenRequest
Respresents a security token request message from client to web service.
Declaration Syntax
C# | Visual Basic |
public class TokenRequest : RequestBase
Public Class TokenRequest _ Inherits RequestBase
Members
All Members | Constructors | Methods | Fields | ||
|
|
|
Icon | Member | Description |
---|---|---|
TokenRequest()()() |
Initializes a new instance of the TokenRequest class
|
|
AccessToken |
Each web service request carries a security token as an extra level of security.
Tokens are issued when users are coming online. They can expire if necessary.
Google.com and Amazon.com uses this in their API.
(Inherited from RequestBase.) |
|
Action |
Crud action: Create, Read, Update, Delete
(Inherited from RequestBase.) |
|
ClientTag |
Each web service request carries a security token as an extra level of security.
Tokens are issued when users are coming online. They can expire if necessary.
Google.com and Amazon.com uses this in their API.
(Inherited from RequestBase.) |
|
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.) |
|
GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) |
|
LoadOptions |
Load options indicated what types are to be returned in the request.
(Inherited from RequestBase.) |
|
MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
RequestId |
A unique number (ideally a Guid) issued by the client representing the instance
of the request. Avoids rapid-fire processing of the same request over and over
in denial-of-service type attacks.
(Inherited from RequestBase.) |
|
ToString()()() | (Inherited from Object.) |
|
Version |
Minimum version number that client request is required to run under. This facilitates
a certain level of backward compatibility for when the web service API evolves.
Ebay.com uses the version number in their API.
(Inherited from RequestBase.) |
Inheritance Hierarchy
Object | ||
RequestBase | ||
TokenRequest |