Esempio n. 1
0
        /// <summary>
        /// https://duo.com/docs/authapi#/auth_status
        /// </summary>
        /// <param name="txid">The transaction ID of the authentication attempt, as returned by the /auth endpoint.</param>
        public async Task <DuoResponse <AuthStatusResult> > AuthStatusAsync(string txid)
        {
            var request  = builder.AuthStatusRequest(txid);
            var response = await client.SendAsync(request).ConfigureAwait(false);

            return(await DuoResponse.ParseAsync <AuthStatusResultModel, AuthStatusResult>(response));
        }