MadelineProto/docs/TD_docs/methods/checkAuthPassword.md
2017-08-25 15:05:53 +02:00

23 lines
648 B
Markdown

---
title: checkAuthPassword
description: Checks password for correctness. Works only when getAuthState returns authStateWaitPassword. Returns authStateOk on success
---
## 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
### Params:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|password|[string](../types/string.md) | Yes|Password to check|
### Return type: [AuthState](../types/AuthState.md)