# PluginAuthDataFormat

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) > [Enums](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/index.md)

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

Event type enumeration.

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

<a id="values"></a>

## Values

| Name | Number | Description |
|---|---|---|
| <a id="v-PLUGIN_AUTH_DATA_FORMAT_UNENCRYPTED"></a>`PLUGIN_AUTH_DATA_FORMAT_UNENCRYPTED` | 0 | Data is unencrypted. Encryption at this layer is going to be deprecated, so this value is the default. |
| <a id="v-PLUGIN_AUTH_DATA_FORMAT_RSA512"></a>`PLUGIN_AUTH_DATA_FORMAT_RSA512` | 1 | Data is encrypted with a 512-bit RSA key. |
| <a id="v-PLUGIN_AUTH_DATA_FORMAT_RSA2048"></a>`PLUGIN_AUTH_DATA_FORMAT_RSA2048` | 2 | Data is encrypted with a 2048-bit RSA key. |

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

## Used in fields

- [`AuthDataClientUnion.PluginData.data_format`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.AuthDataClientUnion/index.md#t-PluginData-data_format): `PLUGIN_AUTH_DATA_FORMAT_UNENCRYPTED` (the default) or `PLUGIN_AUTH_DATA_FORMAT_RSA2048`. `PLUGIN_AUTH_DATA_FORMAT_RSA512` is refused.
