(ctx context.Context, arg UpdateExternalAuthLinkParams)
| 1253 | UpdateEncryptedAIProviderSettings(ctx context.Context, arg UpdateEncryptedAIProviderSettingsParams) (AIProvider, error) |
| 1254 | UpdateEncryptedUserAIProviderKey(ctx context.Context, arg UpdateEncryptedUserAIProviderKeyParams) (UserAiProviderKey, error) |
| 1255 | UpdateExternalAuthLink(ctx context.Context, arg UpdateExternalAuthLinkParams) (ExternalAuthLink, error) |
| 1256 | // Optimistic lock: only update the row if the refresh token in the database |
| 1257 | // still matches the one we read before attempting the refresh. This prevents |
| 1258 | // a concurrent caller that lost a token-refresh race from overwriting a valid |
no outgoing calls