AuthDataServerUnion
The method-specific part of AuthDataServer; the member matches AuthDataServer.type.
| Full name | MFiles.AuthDataServerUnion |
|---|---|
| Proto file | mfiles/structs.proto |
| Nested types | AuthDataServerUnion.UndefinedServerData, AuthDataServerUnion.MFilesLeg1Data, AuthDataServerUnion.MFilesLeg2Data, AuthDataServerUnion.WindowsData, AuthDataServerUnion.PluginData, AuthDataServerUnion.CredentialsData, AuthDataServerUnion.AnonymousData |
Fields
| Field | Type | Number | Description |
|---|---|---|---|
mfiles_leg1 | AuthDataServerUnion.MFilesLeg1Data (oneof data) | 1 | The challenge, hash algorithm and salt of the M-Files challenge login. |
mfiles_leg2 | AuthDataServerUnion.MFilesLeg2Data (oneof data) | 2 | Reply to the second step of the M-Files challenge login; has no data. |
windows | AuthDataServerUnion.WindowsData (oneof data) | 3 | The next Windows authentication token and whether the exchange is complete. |
plugin | AuthDataServerUnion.PluginData (oneof data) | 4 | The plug-in's output and whether it has finished. |
credentials | AuthDataServerUnion.CredentialsData (oneof data) | 5 | Reply to a user name and password login; has no data. |
anonymous | AuthDataServerUnion.AnonymousData (oneof data) | 6 | Reply to an anonymous login; has no data. |
Used in fields
AuthDataServer.data-- Method-specific reply: a challenge, a token to pass on, or nothing.
Nested message UndefinedServerData
Not used by any authentication method; the server never returns it.
Full name: MFiles.AuthDataServerUnion.UndefinedServerData
No fields.
Nested message MFilesLeg1Data
The challenge of the M-Files challenge login, answered with
AuthDataClientUnion.MFilesLeg2Data.
Full name: MFiles.AuthDataServerUnion.MFilesLeg1Data
| Field | Type | Number | Description |
|---|---|---|---|
challenge | bytes | 1 | The challenge to answer in the second step. |
password_hash_algorithm | PasswordHashAlgorithm | 2 | The algorithm the account's password is stored with.Values: PASSWORD_HASH_ALGORITHM_MD5 (0), PASSWORD_HASH_ALGORITHM_UNDEFINED (1), PASSWORD_HASH_ALGORITHM_PBKDF2_WITH_SHA512_AND100000_ITERS (2). |
password_salt | string | 3 | The salt for hashing the password with password_hash_algorithm. |
Nested message MFilesLeg2Data
Reply to the second step of the M-Files challenge login. Has no data.
Full name: MFiles.AuthDataServerUnion.MFilesLeg2Data
No fields.
Nested message WindowsData
One step of a Windows (SSPI) authentication exchange.
Full name: MFiles.AuthDataServerUnion.WindowsData
| Field | Type | Number | Description |
|---|---|---|---|
auth_data | bytes | 1 | Opaque Windows authentication data. |
is_done | bool | 2 | True when the login process has been completed. |
Nested message PluginData
The plug-in's reply in a plug-in login.
Full name: MFiles.AuthDataServerUnion.PluginData
| Field | Type | Number | Description |
|---|---|---|---|
auth_data | repeated NamedValue | 1 | The plug-in's output as named values, to process before the next call. |
is_done | bool | 2 | True when the plug-in has finished authenticating. |
Nested message CredentialsData
Reply to a user name and password login. Has no data.
Full name: MFiles.AuthDataServerUnion.CredentialsData
No fields.
Nested message AnonymousData
Reply to an anonymous login. Has no data.
Full name: MFiles.AuthDataServerUnion.AnonymousData
No fields.