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
Optionaluse
Options object for
FetchHttpApiand MatrixHttpApi.