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

cn.authing.sdk.java.dto.TokenRevocationEndpointParams Maven / Gradle / Ivy

There is a newer version: 3.1.10
Show newest version
package cn.authing.sdk.java.dto;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;


public class TokenRevocationEndpointParams {
    /**
     * Authing 应用 ID。当在控制台配置撤回 token 身份验证方式为 client_secret_post 和 none 时必填。
     */
    @JsonProperty("client_id")
    private String clientId;
    /**
     * Authing 应用密钥。在控制台配置撤回 token 身份验证方式为 client_secret_post 时必填。
     */
    @JsonProperty("client_secret")
    private String clientSecret;
    /**
     * `access_token` 或者 `refresh_token` 的值
     */
    @JsonProperty("token")
    private String token;

    public String getClientId() {
        return clientId;
    }
    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getClientSecret() {
        return clientSecret;
    }
    public void setClientSecret(String clientSecret) {
        this.clientSecret = clientSecret;
    }

    public String getToken() {
        return token;
    }
    public void setToken(String token) {
        this.token = token;
    }



}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy