0
我试图弄清楚如何使用AWS.CognitoIdentityServiceProvider的changePassword function。使用AWS.CognitoIdentityServiceProvider更改密码
我需要通过以下为PARAMS:
{
PreviousPassword: 'STRING_VALUE', /* required */
ProposedPassword: 'STRING_VALUE', /* required */
AccessToken: 'STRING_VALUE'
}
我用这个lambda函数里面,所以我如何获得访问令牌的持有?我有cognitoIdentityPoolId
和cognitoIdentityId
使用,但我不明白这个访问令牌是。