Welcome Guest, you are in: Login

MUST Creative Engineering Laboratory

RSS RSS

Navigation



Technical Doc



Search the wiki
»

MUST Corp.

MUST Corp.

www.must.or.kr

 Microsoft CERTIFIED Partner Software Development, Web Development, Data Platform

 Microsoft Small Business Specialist

MCSD

Microsoft Certified IT Professional

Microsoft Certified Professional Developer

Page History: Web API 액세스 토큰

Compare Page Revisions



« Older Revision - Back to Page History - Newer Revision »


Page Revision: 2018/08/26 16:49


액세스 토큰 안내

이 문서는 BaroSee Web API를 호출하는 데 사용되는 액세스 토큰을 얻는 방법을 설명합니다

액세스 토큰을 이용하여 로그인 사용자에 한하여 볼수 있는 문서에 대해서 접근을 제한 할 수 있습니다.
(예: 그룹웨어, 이메일, 회원로그인 후 연람 가능한 게시물 등)

설치 안내

대시보드 > 설정 > API 에서 API 키쌍(API 키, API 시크릿)을 생성하거나 재생성 할 수 있습니다

  • Request Header

Content-Type : application/x-www-form-urlencoded

  • Request Body

client_id : <api_public_key>
client_secret : <api_private_key>
grant_type : client_credentials

  • Response Result

{ "access_token": "Expired after minutes", "token_type": "bearer", "expires_in": "Expired after minutes" }

예제

HTML 페이지에 아래와 같이 삽입하여 사용 할 수 있습니다.

<a href="javascript:dcc_open({id:'고유 ID', url:'파일 다운로드 경로', target:'_blank'});" title="새창">바로보기</a> 

<script type="text/javascript" src="http://barosee.net/Document/Script"></script>

  • 고유 ID : 발급받은 고유 아이디를 입력합니다.
  • 파일 다운로드 경로 : http를 포함한 접근 가능한 파일 경로 전체 URL를 입력 합니다.




Image바로씨(BaroSee) 서비스 안내 데모체험


MUST Creative Engineering Laboratory

ImageImage Image Image

Image Image Image Image Image Image Image

Copyright © 2010 MUST Corp. All rights reserved. must@must.or.kr
This Program is released under the GNU General Public License v2. View the GNU General Public License v2 or visit the GNU website.