MadelineProtoDocs/docs/TD_docs/methods/checkAuthPassword.md

24 lines
727 B
Markdown

---
title: checkAuthPassword
description: Checks password for correctness. Works only when getAuthState returns authStateWaitPassword. Returns authStateOk on success
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Method: checkAuthPassword
[Back to methods index](index.md)
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Checks password for correctness. Works only when getAuthState returns authStateWaitPassword. Returns authStateOk on success
### Parameters:
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|password|[string](../types/string.md) | Password to check | Yes|
### Return type: [AuthState](../types/AuthState.md)