curl --request GET \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/sdkViews \
--header 'Authorization: Bearer <token>'{
"sdkViews": [
{
"type": "login",
"sections": [
{
"type": "email",
"label": "<string>",
"numOfItemsToDisplay": 123,
"defaultItem": "<string>",
"alignment": "center"
}
]
}
]
}curl --request GET \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/sdkViews \
--header 'Authorization: Bearer <token>'{
"sdkViews": [
{
"type": "login",
"sections": [
{
"type": "email",
"label": "<string>",
"numOfItemsToDisplay": 123,
"defaultItem": "<string>",
"alignment": "center"
}
]
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the environment
36"95b11417-f18f-457f-8804-68e361f9164f"
List of sdk views for this project environment
Configs used to create the views in the sdk.
Show child attributes
login The sections which will be used create the view in the sdk. The sections will be displayed in the order that they appear in the array.
Show child attributes
email, emailAndPhone, phone, separator, social, text, wallet, passkey The label for the section. This will be displayed above the section or as part of the separator component if it is a Separator section.
The deafult number of items to display in the section. For Wallet section, represents the number of wallet items to be displayed by default. User has to click a button to view more options if there are any. For Social section, represents the number of social providers to be displayed by default. User has to click a button to view more options if there are any.
The option to be displayed as the main one. The default item will be displayed in a more prominent way than the rest of the items in the section. For Wallet section, represents the wallet item to be displayed by default. For Social section, represents the social provider to be displayed by default.
center, left, right Was this page helpful?