4.2.2 Using user pools with Bayun AWSS3 wrapper 'SecureAuthentication'
window._config = {
cognito: {
userPoolId: "<userPoolId>", // e.g. us-east-2_uXboG5pAb
region: "<region>", // e.g. us-east-2
clientId: "<clientId>", // e.g. 7asdfvasdasdufe7hf47fhasd
},
};
const BayunConstants = {
BAYUN_APP_ID: "<BAYUN_APP_ID>", // provided on admin panel
BAYUN_APP_SALT: "<BAYUN_APP_SALT>", // provided on admin panel
BAYUN_APP_SECRET: "<BAYUN_APP_SECRET>", // provided on admin panel
ENABLE_FACE_RECOGNITION: false | true,
BASE_URL: "<BASE_URL>", // provided on admin panel
};Set Up the SecureAuthentication object
Register a User
Confirm Signup
Sign in a user
Sign out a user
Previous4.2.1 Using user pools with AWS JavaScript SDKNext5. Store And Retrieve Files securely from Amazon S3
Last updated