package awso-async

  1. Overview
  2. Docs
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.

Sourceval 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.t

Authenticates 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.