ebay_set_user_tokens_with_expiry
Sets eBay user access and refresh tokens with custom expiry times, and automatically refreshes expired access tokens when a valid refresh token exists.
Instructions
Set user access and refresh tokens with custom expiry times. This is an enhanced version of ebay_set_user_tokens that accepts expiry times and can automatically refresh the access token if it's expired but the refresh token is valid. Useful when user provides tokens that may already be partially expired.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accessToken | Yes | eBay user access token | |
| autoRefresh | No | Whether to validate and refresh the access token immediately | |
| refreshToken | Yes | eBay user refresh token | |
| accessTokenExpiry | No | Optional access-token expiry. Supports ISO date strings, Unix timestamps, and relative time. | |
| refreshTokenExpiry | No | Optional refresh-token expiry. Supports ISO date strings, Unix timestamps, and relative time. |