io.camunda.identity.sdk.impl.dto.RevokeTokenDto Maven / Gradle / Ivy
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH under
* one or more contributor license agreements. Licensed under a proprietary license. See the
* License.txt file for more information. You may not use this file except in compliance with the
* proprietary license.
*/
package io.camunda.identity.sdk.impl.dto;
import com.fasterxml.jackson.annotation.JsonProperty;
public class RevokeTokenDto {
private final String clientId;
private final String clientSecret;
private final String refreshToken;
public RevokeTokenDto(final String clientId,
final String clientSecret,
final String refreshToken) {
this.clientId = clientId;
this.clientSecret = clientSecret;
this.refreshToken = refreshToken;
}
@JsonProperty("client_id")
public String getClientId() {
return clientId;
}
@JsonProperty("client_secret")
public String getClientSecret() {
return clientSecret;
}
@JsonProperty("refresh_token")
public String getRefreshToken() {
return refreshToken;
}
}