The unified token() exchange
login() and refreshToken() are both thin wrappers around token(), which accepts either grant type directly - useful if you’re building your own auth flow on top:
Exchange a refresh token for a new session
token() exchangelogin() and refreshToken() are both thin wrappers around token(), which accepts either grant type directly - useful if you’re building your own auth flow on top: