matrix-js-sdk
    Preparing search index...

    Class TokenRefresher

    Class responsible for refreshing OAuth2 access tokens

    Index
    • Revoke a token with the OP, e.g. as part of logging out.

      Parameters

      • token: string

        the token to revoke

      • Optionaltype: "access_token" | "refresh_token"

        the type of token, acts as a hint to the OP

      Returns Promise<void>

      when revocation fails