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