IRPCLogin.GetAuthenticationConfiguration

View as Markdown

Vault API / core session no session idempotent

Tells a client, before login, whether to authenticate with an authentication plug-in (single sign-on) and returns the plug-in's client-side configuration.

ServiceLogin and sessions MFiles.IRPCLogin
gRPC method/MFiles.IRPCLogin/GetAuthenticationConfiguration
HTTP (mf-http-grpc)POST /grpc/v1/get-authentication-configuration
RequestGetAuthenticationConfigurationRequest
ResponseGetAuthenticationConfigurationResponse
Book and levelVault API, core
Kindsession
SessionNot needed: the call can be made before logging in.
Idempotentyes
Returns metadata structure versionno
Streamingnone (unary)

Remarks

Needs no session. The server looks for a configuration that matches the request; the vault can be given by vault_guid or resolved from host_name (the host name the client connects to, as configured for the vault). A configuration can be limited to one account type (configuration scope such as *:WINDOWS:); it then matches only a request with that type. To find the single sign-on configuration of a vault, set type to ACCOUNT_TYPE_WINDOWS: users who sign in through an identity provider have Windows-type login accounts.

target_plugin_name must be empty; any other value fails with E_INVALIDARG.

Request: GetAuthenticationConfigurationRequest

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
remote_can_be_nullServerAddressLeave unset. Naming a remote server needs a server setting that is off by default.
remote_can_be_null.network_addressstringThe network address (name) of the server.
remote_can_be_null.endpointstringThe endpoint of the server.
remote_can_be_null.protocol_sequencestringThe protocol sequence of the server.
user_namestringOptional. The user name typed by the user, to find a configuration scoped to it.
domainstringOptional. The user's domain, to find a configuration scoped to it.
vault_guidstringOptional. The vault the user is logging in to. When empty or all zeros, the vault is resolved from host_name.
host_namestringOptional. The host name the client uses to reach the server, for example the vault's cloud address. Used to find the vault and host-specific configurations.
typeAccountTypeThe account type to find a configuration for. Leave unset when unknown.Values: ACCOUNT_TYPE_UNINITIALIZED (0), ACCOUNT_TYPE_MFILES (1), ACCOUNT_TYPE_WINDOWS (2).
target_plugin_namestringDeprecated. Must be empty; any other value fails with E_INVALIDARG.
capabilitiesClientCapabilitiesThe client's capabilities, as in ClientData.capabilities.
capabilities.property_def_searchabilityboolProperty definitions can be configured searchable or unsearchable.
capabilities.unmanaged_objectsboolClient understands unmanaged objects.
capabilities.extension_authentication_data_pushboolClient supports data push for extension authentications.
capabilities.custom_api_data_pushboolClient supports server data push for M-Files API & custom implementations.
capabilities.unknown_file_sizeboolClient can handle unknown or estimated file size.
capabilities.typed_metadata_suggestionsboolClient can handle metadata suggestions to all M-Files types.
capabilities.long_authentication_attempt_identifierboolThe client handles the long (32-byte) authentication attempt identifier in AuthenticationAttemptIdentifier.data.
capabilities.reverse_grouping_levelboolClient supports reverse grouping levels.
capabilities.object_permissions_for_clientboolClient supports ObjectPermissionsForClient.
capabilities.hierarchical_object_type_propertiesboolProperties with hierarchy for real object types supported.
capabilities.smart_searchboolClient supports Smart Search engine type.
capabilities.recurring_notificationsboolClient supports recurring notifications.
capabilities.smart_search_facetsboolClient supports smart search facets.
capabilities.vault_role_manage_private_viewsboolClient supports a vault role for managing private views.
capabilities.allow_all_see_deleted_conflict_objectsboolClient supports that all users can see deleted conflict objects.
capabilities.advanced_password_hashesboolClient supports hashing passwords with advanced algorithms, including at least PBKDF2.
capabilities.anonymous_authenticationboolClient supports anonymous authentication.
capabilities.dataset_deleted_conditionboolClient supports deleted/not deleted-condition in a dataset definition.
capabilities.unified_password_hashesboolClient supports transmitting hashing passwords with the same encoding between all gRPC methods.
capabilities.duplicates_viewboolClient supports the duplicates view.
capabilities.property_action_state_transition_timeboolClient supports state transition time setting via state property action.
capabilities.at_mentionsboolClient supports the @mentions in comment texts.
capabilities.additive_permissions_via_automatic_aclcomponentsboolClient supports additive permissions via automatic ACL components.
capabilities.vault_level_optimization_jobsboolClient supports vault-level optimization jobs.
capabilities.visitor_links_supportedboolClient supports new interface methods for visitor links.
capabilities.object_type_filter_multi_select_viewsboolClient supports multiple object types as a filter for views and advanced searches.
capabilities.generate_v2_azure_auth_conf_supportedboolClient supports generating authentication configuration for Azure v2.0 endpoint.
capabilities.structure_item_groups_in_exportboolClient supports structure item groups in the export job.
capabilities.aino_searchboolClient supports Aino Search engine type.
capabilities.conversation_historyboolClient supports conversation history.
capabilities.generate_login_service_auth_confboolClient supports generating authentication configuration for M-Files Login Service.
capabilities.sub_folders_in_viewsboolClient supports subfolders in views.
capabilities.reverse_references_in_pseudo_user_acesboolClient supports reverse references in pseudo-user ACEs (Access Control Entries).
capabilities.entity_version_checking_supportedboolClient supports entity version numbering to track modification conflicts.
capabilities.workflow_descriptions_supportedboolClient supports workflow descriptions.
capabilities.property_value_metadata_supportedboolClient supports setting and retrieving property value metadata.
capabilities.object_type_grouping_for_relationshipsboolClient supports object type based grouping for relationships.
capabilities.draft_objectsboolClient supports draft objects in discovery results.

Response: GetAuthenticationConfigurationResponse

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
auth_methodAuthMethodAUTH_METHOD_PLUGIN when plugin_infos contains a usable configuration, AUTH_METHOD_UNSPECIFIED otherwise.Values: AUTH_METHOD_UNSPECIFIED (0), AUTH_METHOD_PLUGIN (3).
plugin_infos[]repeated PluginInfoThe matching plug-in configurations. system_configuration holds the configuration scope (Scope) to send back in PluginData.configuration_scope; plugin_configuration holds the plug-in's client settings.
plugin_infos[].is_defaultboolTrue if this is the default configuration.
plugin_infos[].is_scope_independentboolTrue if the plug-in can be used without a configuration scope.
plugin_infos[].namestringThe configuration's name. Send it as PluginData.plugin_name.
plugin_infos[].assembly_namestringThe plug-in's implementation, for example MFiles.AuthenticationProviders.OAuth.
plugin_infos[].bridge_class_namestringInternal to the server.
plugin_infos[].system_configurationNamedValueArrayWhere the configuration comes from: Scope (send as PluginData.configuration_scope) and, for vault-stored configurations, VaultGUID.
plugin_infos[].system_configuration.value[]repeated NamedValueAn array of the NamedValue structures.
plugin_infos[].plugin_configurationNamedValueArrayThe plug-in's client-side settings. For an OAuth plug-in these include AuthorizationEndpoint, TokenEndpoint, ClientID, Scope and RedirectURI.
plugin_infos[].plugin_configuration.value[]repeated NamedValueAn array of the NamedValue structures.