Developing in a Sandbox Workspace
Seam's sandbox workspaces enable you to develop integrations without access to a real system. Use your sandbox workspace to test out issuing mobile keys and other related aspects of your integration.
Creating a Simulated Phone for a User Identity
When issuing mobile credentials, some systems require the user identity to have a provisioned phone. While you are developing and testing your integration, you can add a simulated phone in your sandbox workspace. Use the following flow to add a simulated phone for a user identity:
Command:
# Step 1: Create the user identity.
user_identity = seam.user_identities.create(
user_identity_key = "jean_doe",
full_name = "Jean Doe"
)
# Step 2: Launch an enrollment automation.
# Use the acs_system_id of the credential manager.
seam.user_identities.enrollment_automations.launch(
user_identity_id = user_identity.user_identity_id,
credential_manager_acs_system_id = credential_manager.acs_system_id,
create_credential_manager_user = True
)
# Step 3: Create a simulated, sandbox phone.
seam.phones.simulate.create_sandbox_phone(
user_identity_id = user_identity.user_identity_id
)Output:
Request:
Response:
Command:
Output:
Command:
Output:
Command:
Output:
Command:
Output:
Command:
Output:
Command:
Output:
PreviousIssuing Mobile Credentials from an Access Control SystemNextIntegrating into your Mobile Application
Last updated
Was this helpful?

