# Uses of Class it.tdlight.jni.TdApi.AuthorizationState (tdlight API 3.3.160 API)
use: package: it.tdlight.jni, class: TdApi, class: AuthorizationState

# Uses of Class
it.tdlight.jni.TdApi.AuthorizationState

## Uses of TdApi.AuthorizationState in it.tdlight.jni

Subclasses of TdApi.AuthorizationState in it.tdlight.jni
Modifier and Type | Class | Description
--- | --- | ---
`static class` | `TdApi.AuthorizationStateClosed` | TDLib client is in its final state.
`static class` | `TdApi.AuthorizationStateClosing` | TDLib is closing, all subsequent queries will be answered with the error 500.
`static class` | `TdApi.AuthorizationStateLoggingOut` | The user is currently logging out.
`static class` | `TdApi.AuthorizationStateReady` | The user has been successfully authorized.
`static class` | `TdApi.AuthorizationStateWaitCode` | TDLib needs the user's authentication code to authorize.
`static class` | `TdApi.AuthorizationStateWaitEncryptionKey` | TDLib needs an encryption key to decrypt the local database.
`static class` | `TdApi.AuthorizationStateWaitOtherDeviceConfirmation` | The user needs to confirm authorization on another logged in device by scanning a QR code with the provided link.
`static class` | `TdApi.AuthorizationStateWaitPassword` | The user has been authorized, but needs to enter a password to start using the application.
`static class` | `TdApi.AuthorizationStateWaitPhoneNumber` | TDLib needs the user's phone number to authorize.
`static class` | `TdApi.AuthorizationStateWaitRegistration` | The user is unregistered and need to accept terms of service and enter their first name and last name to finish registration.
`static class` | `TdApi.AuthorizationStateWaitTdlibParameters` | TDLib needs TdlibParameters for initialization.

Fields in it.tdlight.jni declared as TdApi.AuthorizationState
Modifier and Type | Field | Description
--- | --- | ---
`TdApi.AuthorizationState` | TdApi.UpdateAuthorizationState.`authorizationState` | New authorization state.

Constructors in it.tdlight.jni with parameters of type TdApi.AuthorizationState
Constructor | Description
--- | ---
`UpdateAuthorizationState​(TdApi.AuthorizationState authorizationState)` | The user authorization state has changed.