General Procedure
- Create a function.
The function will be used for custom authentication.
- Create a custom authorizer.
Set the authorizer type to Frontend, and select the function created in the previous step.
- Create an API.
Set authentication mode to App, enable Two-Factor Authentication, and select the custom authorizer created in the previous step.
- Create a credential.
APIs that use app authentication require a credential to call. Create a credential to generate an ID and key/secret pair.
- Bind the credential to the created API.
APIs that use app authentication can be called only with bound credentials.
- Verify the API.
Call the API to check whether two-factor authentication is configured successfully.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot