| 1234567891011121314151617 |
- <?php
- namespace common\expand\alipay\auth\model;
- use common\expand\alipay\AlipayModel;
- /**
- * @desc 换取授权访问令牌
- * @url https://opendocs.alipay.com/open/02xtla
- * @property string $grant_type 授权方式。支持:1.authorization_code,表示换取使用用户授权码code换取授权令牌access_token。2.refresh_token,表示使用refresh_token刷新获取新授权令牌。
- * @property string $code 授权码,用户对应用授权后得到。本参数在 grant_type 为 authorization_code 时必填;为 refresh_token 时不填。
- * @property string $refresh_token 刷新令牌,上次换取访问令牌时得到。本参数在 grant_type 为 authorization_code 时不填;为 refresh_token 时必填,且该值来源于此接口的返回值 app_refresh_token(即至少需要通过 grant_type=authorization_code 调用此接口一次才能获取)。
- */
- class OauthTokenModel extends AlipayModel
- {
- }
|