The AuthenticationMode enumeration contains authentication or authorization types used for any connection.
It is used by the following properties and methods:
| Value | Brief description |
| 0 | AnyAccepted. Any accepted authentication type. |
| 1 | Password. Password authentication. It is required a clear indication of user name and password. The IPasswordCredentials interface is used to process credentials. |
| 2 | Domain. Integrated domain authentication. During connection the system uses the same user name and password as it used to connect the user to the domain. The IDomainCredentials interface is used to process credentials. |
| 3 | Role. Role authentication. Each user is associated with a certain role with this type of authentication. NOTE. Role authentication type is outdated. It is kept for compatibility with previous versions. |
| 4 | DomainExplicit. Domain authentication. It is required a clear indication of domain, user name and password. The IDomainCredentials interface is used to process credentials. The use of domain authentication is relevant for the Microsoft, Oracle, PostgreSQL DBMS. |
| 5 | Certificate. Certificate authentication. Certificate owner can work in repository under any user. |
| 6 | PasswordEncrypted. Password authentication with encryption. The use is relevant only for the application server. |
| 7 | OAuth. Authentication via external services using the OAuth or OpenID Connect protocol. It is use only in the web application of Foresight Analytics Platform. |
| 8 | ExtService. Authorization in repository of the user who was authenticated in an external service. It supports authorization via JWT token or HTTP headers containing information about external service user. |
See also: