OptionalaccessOptionalextraOptionalfetchOptionalidOptionallocalOptionalloggerOptional logger instance. If provided, requests and responses will be logged.
OptionalonlyFor historical reasons, must be set to true. Will eventually be removed.
OptionalrefreshUsed in conjunction with tokenRefreshFunction to attempt token refresh
OptionaltokenFunction to attempt token refresh when a possibly expired token is encountered Optional, only called when a refreshToken is present
OptionaluseWhether to use the HTTP Authorization header over the access_token query parameter
as of v1.11 in https://spec.matrix.org/v1.17/client-server-api/#using-access-tokens
Options object for
FetchHttpApiand MatrixHttpApi.