BBASMPlugin+multiAuthorize.h 979 Bytes
//
//  BBASMPlugin+mutiAuthorize.h
//  BBAMNP
//
//  Created by baidu on 2019/7/10.
//  Copyright © 2019 Baidu. All rights reserved.
//

#import "BBASMPlugin.h"

NS_ASSUME_NONNULL_BEGIN

@interface BBASMPlugin (mutiAuthorize)

/**
 * 描  述: 用户集中授权协议
 * 示  例: baiduboxapp://swanAPI/multiAuthorize?params={"scopes":["snsapi_userinfo"],"cb":"_bdbox_pjs_580"}&callback=_bdbox_js_586&upgrade=0&oauthType=swan
 * 文  档: http://es.baidu-int.com/index#/apidetail/711
 * 备  注: 多项授权
 * ********** description ************
 * @name:      multiAuthorize
 * @authority: swanAPI
 * @path:      /multiAuthorize
 * @args:      [{"name": "scopes", "value": "Array"}, {"name": "cb", "value": "string"}]
 * @config:    {"swan": {"web": {"invoke": "swan.message.url", "handler": "bridge"}, "jsc": {"invoke": "swan.method.url", "method": "_naSwan.bridge.postMessage"}}}
 */
- (void)multiAuthorize:(BBASchemeDispatcher *)dispatcher;

@end

NS_ASSUME_NONNULL_END