package com.gear.customer.swx.utils;
|
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
import lombok.Data;
|
|
@Data
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
public class GoogleDto {
|
private String error;
|
@JsonProperty("error_description")
|
private String errorDescription;
|
/**
|
* token签发者,值为https://accounts.google.com或者accounts.google.com
|
*/
|
private String iss;
|
private String nbf;
|
/**
|
* client_id
|
*/
|
private String aud;
|
/**
|
* 用户在该Google应用中的唯一标识,类似于微信的OpenID
|
*/
|
private String sub;
|
/**
|
* 用户邮箱
|
*/
|
private String email;
|
/**
|
* 邮箱是否已验证
|
*/
|
@JsonProperty("email_verified")
|
private String emailVerified;
|
private String azp;
|
/**
|
* 用户名
|
*/
|
private String name;
|
/**
|
* 用户头像
|
*/
|
private String picture;
|
/**
|
* 名
|
*/
|
@JsonProperty("given_name")
|
private String givenName;
|
/**
|
* 姓
|
*/
|
@JsonProperty("family_name")
|
private String familyName;
|
/**
|
* 签发时间
|
*/
|
private String iat;
|
/**
|
* 过期时间
|
*/
|
private String exp;
|
private String jti;
|
private String alg;
|
private String kid;
|
private String type;
|
}
|