* Copyright (c) 2026 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.huawei.accountkit.extra.resp;
import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Getter;
import lombok.Setter;
* 通过Authorization Code获取GroupUnionID响应
*
* @author accountkit
* @since 2026-4-14
*/
@Getter
@Setter
public class GetGroupUnionIdByCodeResp {
@JSONField(name = "token_type")
private String tokenType;
@JSONField(name = "access_token")
private String accessToken;
private String scope;
@JSONField(name = "expires_in")
private Integer expiresIn;
@JSONField(name = "refresh_token")
private String refreshToken;
@JSONField(name = "id_token")
private String idToken;
@JSONField(name = "group_union_id")
private String groupUnionId;
}