Click or drag to resize

WikiSiteToken Class

This is preliminary documentation and is subject to change.

Represents a token placeholder in the MediaWikiFormRequestMessage. This enables WikiSite to detect bad tokens.
Inheritance Hierarchy
SystemObject
  WikiClientLibrary.SitesWikiSiteToken

Namespace: WikiClientLibrary.Sites
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public sealed class WikiSiteToken

The WikiSiteToken type exposes the following members.

Constructors
 NameDescription
Public methodWikiSiteTokenInitializes a new instance of the WikiSiteToken class
Top
Properties
 NameDescription
Public propertyType 
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldStatic memberCsrfGeneral CSRF token. This token type is not supported prior to MW 1.24.
Public fieldStatic memberDelete 
Public fieldStatic memberEdit 
Public fieldStatic memberMove 
Public fieldStatic memberPatrol 
Top
Remarks
For backwards-compatibility, please use the most specific token type where possible (e.g., Edit or Move instead of Csrf).
See Also