Interface: ApiQueryTokens
Defined in: core/query/tokens.ts:9
Tokens returned by meta=tokens; which keys appear depends on type.
Indexable
[
token:`${string}token`]:string|undefined
Extension-provided tokens follow the same <type>token shape, e.g.
CentralAuth's deleteglobalaccounttoken / setglobalaccountstatustoken.
Properties
createaccounttoken?
optionalcreateaccounttoken?:string
Defined in: core/query/tokens.ts:29
type=createaccount.
csrftoken?
optionalcsrftoken?:string
Defined in: core/query/tokens.ts:11
Anti-CSRF token for most write actions. type=csrf (the default).
logintoken?
optionallogintoken?:string
Defined in: core/query/tokens.ts:26
type=login.
patroltoken?
optionalpatroltoken?:string
Defined in: core/query/tokens.ts:17
type=patrol.
rollbacktoken?
optionalrollbacktoken?:string
Defined in: core/query/tokens.ts:20
type=rollback.
userrightstoken?
optionaluserrightstoken?:string
Defined in: core/query/tokens.ts:23
type=userrights.
watchtoken?
optionalwatchtoken?:string
Defined in: core/query/tokens.ts:14
type=watch.