mirror of
https://github.com/rustmailer/rustmailer.git
synced 2026-08-19 00:01:07 +00:00
071f2929f0
- 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.