AuthDataClient

View as Markdown

The client's authentication data in a LogIn call: the method in type and its data in the matching member of data.

Full nameMFiles.AuthDataClient
Proto filemfiles/structs.proto

Fields

FieldTypeNumberDescription
typeAuthDataType1The authentication method. Must match the member set in data; unset fails with E_INVALIDARG. For user name and password use AUTH_DATA_TYPE_CREDENTIALS.Values: AUTH_DATA_TYPE_UNDEFINED (0), AUTH_DATA_TYPE_MFILES_LEG1 (1), AUTH_DATA_TYPE_MFILES_LEG2 (2), AUTH_DATA_TYPE_WINDOWS (3), AUTH_DATA_TYPE_PLUGIN (4), AUTH_DATA_TYPE_CREDENTIALS (5), AUTH_DATA_TYPE_ANONYMOUS (6).
dataAuthDataClientUnion2The method's data. Set exactly the member that type names.
certificate_proofstring3Leave empty. Used only when the server requires client certificates.
is_certificate_validatedbool4Leave false. Set only by M-Files proxies that validate client certificates themselves.

Used by methods

Used in fields