class MediaWiktory::Wikipedia::Actions::Removeauthenticationdata
Remove authentication data for the current user.
Usage:
“`ruby api.removeauthenticationdata.request(value).perform # returns string with raw output # or api.removeauthenticationdata.request(value).response # returns output parsed and wrapped into Response
object “`
See {Base} for generic explanation of working with MediaWiki actions and {MediaWiktory::Wikipedia::Response} for working with action responses.
All action's parameters are documented as its public methods, see below.
Public Instance Methods
request(value)
click to toggle source
Use this authentication request, by the id returned from action=query&meta=authmanagerinfo with amirequestsfor=remove.
@param value [String] @return [self]
# File lib/mediawiktory/wikipedia/actions/removeauthenticationdata.rb, line 26 def request(value) merge(request: value.to_s) end
token(value)
click to toggle source
A “csrf” token retrieved from action=query&meta=tokens
@param value [String] @return [self]
# File lib/mediawiktory/wikipedia/actions/removeauthenticationdata.rb, line 34 def token(value) merge(token: value.to_s) end