# `AshAtproto.UserResource.UpsertChange`

A change which upserts a user's identity into the user resource.

Expects the following arguments:

  - `user_info` a map with string keys as returned from the ATProto plug.
  - `oauth_tokens` a `AshAtproto.UserResource.OauthTokens` struct containing the OAuth2 token response.

This is usually dynamically inserted into a generated action, however you can
add it to your own action if needed.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
