Files
rustmailer/protos
rustmailer 071f2929f0 feat(oauth2): support external OAuth2 token upsert with optional refresh token
- Add `ExternalOAuth2Request` validation to ensure mutual dependency between
  `oauth2_id` and `refresh_token`.
- Upsert external OAuth2 tokens for an account:
  - If only `access_token` is provided, RustMailer stores it directly.
  - If both `oauth2_id` and `refresh_token` are provided, RustMailer can refresh
    the access token using stored client credentials.
- Update REST API endpoint to `configure_external_oauth2` with proper OpenAPI docs.
- Add gRPC `ExternalOAuth2Request` message and corresponding `UpsertExternalOAuth2Token` RPC.
2025-08-18 00:33:50 +08:00
..