OAuth 2.0 token endpoint. Supports the authorization_code and refresh_token grant types.
The client can authenticate with client_id/client_secret as form fields (below) or via HTTP Basic Auth instead.
Documentation for more details.
RFC 7662 token introspection. The caller must
authenticate as the token's OAuth client (client_id/client_secret as form fields below, or
HTTP Basic Auth), or present the token itself as a Bearer token in the Authorization header.
Documentation for more details.
RFC 7009 token revocation. Always responds
with 200 and an empty body, even if the token was already invalid - the client can authenticate
with client_id/client_secret as form fields (below) or via HTTP Basic Auth instead.
Documentation for more details.
e621may be omitted (passundefined) when constructing a module standalone, without the main E621 client, to keep bundles tree-shakable. Convenience methods on models returned by this module that call back into other modules viathis.e621will throw in that case.