← Public packages
@kody/x
Look up X users and tweets, search recent posts, and preview guarded posts through saved OAuth.
Files
import { refreshOauthToken } from './client.ts'
import type { XRefreshTokenParams } from './client.ts'
/**
* Refresh and persist the selected X OAuth tokens through the host helper.
* @example
* import refreshOauthToken from 'kody:@kody/x/refresh-oauth-token'
* const result = await refreshOauthToken()
*/
export default async function refreshOauthTokenEntrypoint(params: XRefreshTokenParams = {}) {
return await refreshOauthToken(params)
}