# ExtensionAuthenticationResponse

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ExtensionAuthenticationResponse/

Credentials for an external system.

- **Full name:** `MFiles.ExtensionAuthenticationResponse`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-plugin_configuration"></a>`plugin_configuration` | `string` | 1 | The `name` of the authentication method, from the target's `supported_plugins`. |
| <a id="f-data"></a>`data` | repeated [`NamedValue`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.NamedValue/index.md) | 2 | The credentials as named text values, as the authentication method expects them. For a user name and password, M-Files clients send `username` and `password`; for tokens, `Token` and `RefreshToken`. |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCExtensionAuthentications.StoreExtensionAuthenticationCredentials](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExtensionAuthentications/StoreExtensionAuthenticationCredentials/index.md): Logs the caller in to an external system by storing the caller's credentials for it.

<a id="used-in-fields"></a>

## Used in fields

- [`ExtensionAuthenticationResponseFromClient.response`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ExtensionAuthenticationResponseFromClient/index.md#f-response): Extension authentication response.
- [`StoreExtensionAuthenticationCredentialsRequest.authentication_data`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExtensionAuthentications/StoreExtensionAuthenticationCredentials/index.md#request): The credentials. See [ExtensionAuthenticationResponse](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ExtensionAuthenticationResponse/index.md).
