# OCIAuthType

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/embeddings/oci_generative_ai/OCIAuthType)

OCI authentication types as enumerator.

## Signature

```python
OCIAuthType()
```

## Extends

- `Enum`

## Properties

- `API_KEY`
- `SECURITY_TOKEN`
- `INSTANCE_PRINCIPAL`
- `RESOURCE_PRINCIPAL`

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/embeddings/oci_generative_ai.py#L14)