Class UserInteractiveData
- java.lang.Object
-
- io.github.ma1uta.matrix.client.model.auth.UserInteractiveData
-
public abstract class UserInteractiveData extends Object
In the REST API described in this specification, authentication works by the client and server exchanging JSON dictionaries. The server indicates what authentication data it requires via the body of an HTTP 401 response, and the client submits that authentication data via the auth request parameter.
Indicate that this object need user interactive session.
-
-
Field Summary
Fields Modifier and Type Field Description private AuthenticationData
auth
Additional authentication information for the user-interactive authentication API.
-
Constructor Summary
Constructors Constructor Description UserInteractiveData()
-
-
-
Field Detail
-
auth
private AuthenticationData auth
Additional authentication information for the user-interactive authentication API. Note that this information is not used to define how the registered user should be authenticated, but is instead used to authenticate the register call itself. It should be left empty, or omitted, unless an earlier call returned an response with status code 401.
-
-
Method Detail
-
getAuth
public AuthenticationData getAuth()
-
setAuth
public void setAuth(AuthenticationData auth)
-
-