AuthDataServerUnion

View as Markdown

The method-specific part of AuthDataServer; the member matches AuthDataServer.type.

Fields

FieldTypeNumberDescription
mfiles_leg1AuthDataServerUnion.MFilesLeg1Data (oneof data)1The challenge, hash algorithm and salt of the M-Files challenge login.
mfiles_leg2AuthDataServerUnion.MFilesLeg2Data (oneof data)2Reply to the second step of the M-Files challenge login; has no data.
windowsAuthDataServerUnion.WindowsData (oneof data)3The next Windows authentication token and whether the exchange is complete.
pluginAuthDataServerUnion.PluginData (oneof data)4The plug-in's output and whether it has finished.
credentialsAuthDataServerUnion.CredentialsData (oneof data)5Reply to a user name and password login; has no data.
anonymousAuthDataServerUnion.AnonymousData (oneof data)6Reply to an anonymous login; has no data.

Used in fields

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

FieldTypeNumberDescription
challengebytes1The challenge to answer in the second step.
password_hash_algorithmPasswordHashAlgorithm2The 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_saltstring3The 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

FieldTypeNumberDescription
auth_databytes1Opaque Windows authentication data.
is_donebool2True 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

FieldTypeNumberDescription
auth_datarepeated NamedValue1The plug-in's output as named values, to process before the next call.
is_donebool2True 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.