# 이 기능에 API 키를 사용할 수 있나요?

**URL:** <https://meta.discourse.org/t/can-i-use-api-keys-for-this/186353>\
**Category:** Development\
**Created:** [4월 10, 2021, 10:46오후 UTC](https://meta.discourse.org/t/can-i-use-api-keys-for-this/186353 "2021-04-10T22:46:21Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [4월 12, 2021, 3:55오후 UTC](https://meta.discourse.org/t/can-i-use-api-keys-for-this/186353/2 "2021-04-12T15:55:38Z")

</div>

제 생각에는 플러그인이 커스텀 사용자 필드를 사용하도록 하고, 해당 필드가 저장될 때 멤버십을 검증하도록 하는 것이 좋겠습니다. Discord와 Roblox 양쪽을 모두 확인해야 한다는 것은 불필요해 보입니다.

예를 들어, 무작위 숫자를 생성해서 사용자가 Discord나 Roblox 프로필에 그 숫자를 추가하도록 하고, `before_save`에서 원격 프로필에 해당 키가 포함되어 있는지 검증하는 방식도 가능합니다.

---

_[View the full topic](https://meta.discourse.org/t/can-i-use-api-keys-for-this/186353)._
