본문으로 건너뛰기
Sursa Developers

객체

OAuthAppCreate

필드

  • namestring필수

    동의 화면에 표시할 이름.

    length ≥ 1, length ≤ 100

  • descriptionstring

    동의 화면에 표시할 설명.

    length ≤ 1000

  • homepage_urlstring

    앱의 웹사이트(http 또는 https).

    length ≤ 2000

  • client_typeOAuthClientType필수
  • redirect_urisarray of string

    리다이렉트 URI: https, http는 localhost, 127.0.0.1, [::1]에만, 사용자 지정 앱 스킴은 역도메인 형식(com.example.app:/callback)으로만 허용돼요. 프래그먼트는 쓸 수 없어요. 공개 앱에는 URI가 하나 이상 필요해요.

    items ≤ 10

  • scopesarray of OAuthScope필수

    앱이 요청할 수 있는 스코프.

    items ≥ 1

  • rolestring

    confidential 앱의 클라이언트 자격 증명 토큰 역할: admin, editor, verifier 또는 viewer(기본값 viewer).

  • data_profilestring

    클라이언트 자격 증명 토큰의 데이터 프로필. 기본값은 새 API 키와 같은 프로필이에요.

사용처