All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.feingto.cloud.dto.oauth.OAuth2TokenDTO Maven / Gradle / Ivy

There is a newer version: 2.3.8.RELEASE
Show newest version
package com.feingto.cloud.dto.oauth;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.LinkedHashSet;
import java.util.Set;

/**
 * OAuth2AccessToken
 *
 * @author longfei
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OAuth2TokenDTO implements Serializable {
    private static final long serialVersionUID = 7168867567396637026L;

    private String token_type;

    private String access_token;

    private String refresh_token;

    private Integer expires_in;

    @Builder.Default
    private Set scopes = new LinkedHashSet<>();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy