{
	"@metadata": {
		"authors": [
			"Tgr"
		]
	},
	"mwoauth-rest-param-desc-response_type": "The OAuth 2.0 response type: <code>code</code> for authorization code flow.",
	"mwoauth-rest-param-desc-client_id": "The client ID (consumer key) of the OAuth application.",
	"mwoauth-rest-param-desc-redirect_uri": "The URL to redirect the user to after authorization. Must match the callback URL registered for the client.",
	"mwoauth-rest-param-desc-scope": "Space-separated list of permission scopes to request. Should be a subset of the scopes registered for the client. Omit to request all available scopes.",
	"mwoauth-rest-param-desc-state": "Opaque value used to maintain state between the authorization request and callback, for [CSRF protection](https://datatracker.ietf.org/doc/html/rfc6749#section-10.12).",
	"mwoauth-rest-param-desc-code_challenge": "PKCE code challenge derived from the code verifier, used to secure the authorization code flow. Required for non-confidential clients.",
	"mwoauth-rest-param-desc-code_challenge_method": "The method used to derive the code challenge from the code verifier.",
	"mwoauth-rest-param-desc-approval_cancel": "Used internally. Clients should not use this field.",
	"mwoauth-rest-param-desc-approval_pass": "Used internally. Clients should not use this field.",
	"mwoauth-rest-param-desc-display": "How the authorization dialog UI should be rendered. Set to <code>popup</code> for an embeddable dialog.",
	"mwoauth-rest-param-desc-ui_locales": "Space-separated list of MediaWiki language codes indicating the user's preferred languages for the authorization UI. (Note that BCP 47 codes which aren't MediaWiki language codes aren't supported.)",
	"mwoauth-rest-param-desc-grant_type": "The OAuth 2.0 grant type for the token request (<code>authorization_code</code>, <code>refresh_token</code> or <code>client_credentials</code>).",
	"mwoauth-rest-param-desc-client_secret": "The client secret of the OAuth application. Required for the client credentials flow.",
	"mwoauth-rest-param-desc-code": "The authorization code received from the authorization endpoint.",
	"mwoauth-rest-param-desc-refresh_token": "A refresh token used to obtain a new access token (and new refresh token) without re-authorizing. The submitted request token will be invalidated after a short grace period.",
	"mwoauth-rest-param-desc-code_verifier": "PKCE code verifier that was used to generate the code challenge sent in the authorization request.",
	"mwoauth-rest-param-desc-limit": "Maximum number of clients to return.",
	"mwoauth-rest-param-desc-offset": "Number of clients to skip, for pagination.",
	"mwoauth-rest-param-desc-oauth_version": "Filter results by OAuth protocol version.",
	"mwoauth-rest-param-desc-grant_type-list": "Filter results by OAuth2 grant type.",
	"mwoauth-rest-param-desc-name": "The name of the OAuth application.",
	"mwoauth-rest-param-desc-version": "The OAuth protocol version the application uses.",
	"mwoauth-rest-param-desc-description": "A plaintext description of what the OAuth application does.",
	"mwoauth-rest-param-desc-wiki": "The ID of the wiki the application is authorized for (e.g. <code>enwiki</code>). Use <code>*</code> for all wikis.",
	"mwoauth-rest-param-desc-owner_only": "Whether the application is for the owner's personal use only. Owner-only clients receive an access token with infinite validity during registration, and cannot use the authorization and token endpoints.",
	"mwoauth-rest-param-desc-callback_url": "The URL users are redirected to after authorizing the application.",
	"mwoauth-rest-param-desc-callback_is_prefix": "Whether the callback URL is treated as a prefix, allowing redirects to any URL that starts with it. Only allowed for OAuth 1.0 clients.",
	"mwoauth-rest-param-desc-email": "Deprecated and ignored. The contact email address for the application is always taken from the account of the MediaWiki user who is making this request.",
	"mwoauth-rest-param-desc-is_confidential": "Whether the application is a confidential client that can securely store a client secret.",
	"mwoauth-rest-param-desc-grant_types": "The OAuth 2.0 grant types the application may use.",
	"mwoauth-rest-param-desc-scopes": "The permission scopes the application requests access to.",
	"mwoauth-rest-param-desc-client_key": "The unique key identifying the OAuth application.",
	"mwoauth-rest-param-desc-reason": "The reason for resetting the client secret.",
	"mwoauth-rest-param-desc-type": "The type of resource information to return: <code>profile</code> for OIDC-compatible user information, <code>scopes</code> for a list of the client's scopes.",
	"mwoauth-rest-summary-authorize": "Authorize an OAuth 2.0 client",
	"mwoauth-rest-description-authorize": "The OAuth 2.0 [authorization endpoint](https://datatracker.ietf.org/doc/html/rfc6749#section-3.1). Displays the OAuth 2.0 authorization page, where users can grant or deny access to a client. Also processes the authorization decision when the form is submitted.",
	"mwoauth-rest-summary-access_token": "Get an OAuth 2.0 access token",
	"mwoauth-rest-description-access_token": "The OAuth 2.0 [token endpoint](https://datatracker.ietf.org/doc/html/rfc6749#section-3.2). Exchanges an authorization code, refresh token or client credentials for an access token.",
	"mwoauth-rest-summary-resource": "Get OAuth 2.0 resource information",
	"mwoauth-rest-description-resource": "With <code>type=profile</code>, acts as the OIDC [userinfo endpoint](https://openid.net/specs/openid-connect-core-1_0.html#UserInfo). With <code>type=scope</code>, enumerates the scopes the client has.",
	"mwoauth-rest-summary-post-client": "Register a new OAuth 2.0 client",
	"mwoauth-rest-description-post-client": "Registers a new OAuth 2.0 client application. The API equivalent of <em>Special:OAuthConsumerRegistration/propose/oauth2</em>.",
	"mwoauth-rest-summary-client-reset_secret": "Reset an OAuth 2.0 client secret",
	"mwoauth-rest-description-client-reset_secret": "Resets the client secret for an OAuth 2.0 application.",
	"mwoauth-rest-summary-get-client": "List current user's OAuth clients",
	"mwoauth-rest-description-get-client": "Returns information about the OAuth 1.0 or 2.0 clients registered by the current user."
}
