Class AuthApi.AuthType
- java.lang.Object
-
- io.github.ma1uta.matrix.client.api.AuthApi.AuthType
-
-
Field Summary
Fields Modifier and Type Field Description static String
APPLICATION_SERVICE
Bypassing registration flow for application service's users.static String
DUMMY
Dummy authentication always succeeds and requires no extra parameters.static String
EMAIL_IDENTITY
Authentication is supported by authorising an email address with an identity server.static String
MSISDN_IDENTITY
Authentication is supported by authorising a msisdn with an identity server.static String
OAUTH2
Authentication is supported via OAuth2 URLs.static String
PASSWORD
The client submits a username and secret password, both sent in plain-text.static String
RECAPTCHA
The user completes a Google ReCaptcha 2.0 challenge.static String
TOKEN
The client submits a login token.
-
Constructor Summary
Constructors Modifier Constructor Description protected
AuthType()
-
-
-
Field Detail
-
PASSWORD
public static final String PASSWORD
The client submits a username and secret password, both sent in plain-text.- See Also:
- Constant Field Values
-
RECAPTCHA
public static final String RECAPTCHA
The user completes a Google ReCaptcha 2.0 challenge.- See Also:
- Constant Field Values
-
OAUTH2
public static final String OAUTH2
Authentication is supported via OAuth2 URLs. This login consists of multiple requests.- See Also:
- Constant Field Values
-
EMAIL_IDENTITY
public static final String EMAIL_IDENTITY
Authentication is supported by authorising an email address with an identity server.- See Also:
- Constant Field Values
-
MSISDN_IDENTITY
public static final String MSISDN_IDENTITY
Authentication is supported by authorising a msisdn with an identity server.- See Also:
- Constant Field Values
-
TOKEN
public static final String TOKEN
The client submits a login token.- See Also:
- Constant Field Values
-
DUMMY
public static final String DUMMY
Dummy authentication always succeeds and requires no extra parameters. Its purpose is to allow servers to not require any form of User-Interactive Authentication to perform a request.- See Also:
- Constant Field Values
-
APPLICATION_SERVICE
public static final String APPLICATION_SERVICE
Bypassing registration flow for application service's users.- See Also:
- Constant Field Values
-
-