Managing Phones for a User Identity

Learn how to manage the phones associated with a user identity.

An app user may have several phones. When they sign into their account on your mobile application, it is important that additional phones also provide access. Seam facilitates this access by registering each phone within the user identity and synchronizing mobile credentials across these phones. Further, Seam provides a feature to deactivate a phone if an app user loses it.


App User New Phone Process

When an app user signs in to a new phone, Seam can automatically set up the new phone, generate matching credentials, and issue these credentials. To facilitate this capability, you must issue a multi-phone sync credential when creating a mobile credential.


App User Lost Phone Process

If an app user loses their phone or wants to deactivate it, you can deactivate the phone. Seam then automatically invalidates the stored credentials on their deactivated phone.

To revoke a phone, provide the ID of the phone. When a phone is revoked, Seam also revokes all the credentials issued to the revoked phone. Seam also removes the associated ACS credentials from the ACS.

# Endpoint in development. Coming Soon!

# Deactivate the lost phone.
seam.phones.deactivate(
  phone_id=lost_phone_id
)

Retrieving Phones for a User Identity

To retrieve the list of phones that the mobile app user has used to sign in to their account, use the List Phones endpoint and include the ID of the user identity (user_identity_id).

# Endpoint in Development. Coming Soon!

seam.phones.list(
  user_identity_id=user_identity.id
)

# [{
#   "phone_id": "xxxx",
#   "user_identity_id": "xxxx",
#   "created_at": "2024-01-01T10:40:00+00:00"
# }]

Retrieving a Phone by ID

To retrieve a specific phone, use the Get Phone endpoint and include the ID of the phone (phone_id).

# Endpoint in development. Coming Soon!

seam.phones.get(
  phone_id=phone_id
)

# {
#   "phone_id": "xxxx",
#   "user_identity_id": "xxxx",
#   "created_at": "2024-01-01T10:40:00+00:00"
# }

Last updated

Logo

Š Seam Labs, Inc. All rights reserved.