# 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 final class`
`TdApi.AuthorizationStateClosed`
TDLib client is in its final state.
`static final class`
`TdApi.AuthorizationStateClosing`
TDLib is closing, all subsequent queries will be answered with the error 500.
`static final class`
`TdApi.AuthorizationStateLoggingOut`
The user is currently logging out.
`static final class`
`TdApi.AuthorizationStateReady`
The user has been successfully authorized.
`static final class`
`TdApi.AuthorizationStateWaitCode`
TDLib needs the user's authentication code to authorize.
`static final class`
`TdApi.AuthorizationStateWaitEmailAddress`
TDLib needs the user's email address to authorize.
`static final class`
`TdApi.AuthorizationStateWaitEmailCode`
TDLib needs the user's authentication code sent to an email address to authorize.
`static final class`
`TdApi.AuthorizationStateWaitOtherDeviceConfirmation`
The user needs to confirm authorization on another logged in device by scanning a QR code with the provided link.
`static final class`
`TdApi.AuthorizationStateWaitPassword`
The user has been authorized, but needs to enter a 2-step verification password to start using the application.
`static final class`
`TdApi.AuthorizationStateWaitPhoneNumber`
TDLib needs the user's phone number to authorize.
`static final 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 final class`
`TdApi.AuthorizationStateWaitTdlibParameters`
Initialization parameters are needed.
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
Modifier
Constructor
Description
``
`UpdateAuthorizationState(TdApi.AuthorizationState authorizationState)`
The user authorization state has changed.