package awso-async
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
AWS client for Async (400+ services, auto-generated from botocore)
Install
dune-project
Dependency
Authors
Maintainers
Sources
awso-0.9.0.tbz
sha256=47224890900b1f5d2bd717000a02fa8918f92eafa99f702f7d59a1b053ff8e95
sha512=e187288f7c8fccb221f5417671732c8c8de95cdbacba1514db592b5700df2293468bde07956539bd44f3d460f6c75d38bd66ca161d0eae68a8b1b4e081882367
doc/awso-async.srp/Awso_srp_async/Srp/index.html
Module Awso_srp_async.SrpSource
Cognito Secure Remote Password (SRP) protocol implementation. Extends the unix version with async support and direct cognito integration via usage of the async cognito_idp module.
Source
val authenticate :
user_pool_id:string ->
client_id:string ->
username:string ->
password:string ->
(Awso_cognito_idp_async.RespondToAuthChallengeResponse.t,
[ `Initiate_auth of Awso_cognito_idp_async.InitiateAuthResponse.error
| `Respond_to_auth_challenge of
Awso_cognito_idp_async.RespondToAuthChallengeResponse.error ])
Core.Result.t
Async.Deferred.tAuthenticates a user with name username and password belonging to user pool user_pool_id with client id client_id using the AWS Cognito Secure Remote Password (SRP) protocol.
Upon successful authentication an authentication token is produced along with other session information in the `Ok .. condition.
Otherwise, a specific error variant indicates the authentication issue.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>