관리 APIOAuth
⚠️준수 안내: 이 프로젝트는 법적으로 승인된 API 게이트웨이, 내부 관리 및 프라이빗 배포 용도로만 사용하세요. 업스트림 서비스 약관, 플랫폼 규칙, 규제 요건 및 콘텐츠 안전 요건을 준수하세요.
OAuth 로그인 또는 검증 흐름 생성
intent는 login, bind, verify입니다. aff는 login만, scope/context는 verify만 허용합니다. bind와 verify에는 로그인 세션이, bind에는 account.binding.bind 증명도 필요합니다. flow_token으로 제공자 전용 흐름을 진행하세요.
헤더 매개변수
X-Security-Proof?string
현재 신원과 정확한 작업에 연결되는 단기 일회용 보안 증명입니다. PAT 또는 모델 API 키로 사용할 수 없습니다.
providerstring
intentstring
허용값
"login" | "bind" | "verify"aff?string
길이
length <= 32scope?string
context?object
응답 본문
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.beeaicloud.com/api/oauth/state" \ -H "Content-Type: application/json" \ -d '{ "provider": "string", "intent": "login" }'{
"success": true,
"message": "string",
"data": {
"flow_token": "string",
"expires_at": 0,
"authorization_url": "string"
}
}{
"success": false,
"message": "string",
"code": "string",
"data": {
"code": "string"
}
}{
"success": false,
"message": "string",
"code": "string",
"data": {
"code": "string"
}
}{
"success": false,
"message": "string",
"code": "string",
"data": {
"code": "string"
}
}{
"success": false,
"message": "string",
"code": "string",
"data": {
"code": "string"
}
}이 문서가 도움이 되었나요?