package marketing.heyday.hartmann.fotodocumentation.rest.vo;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 
 * <p>Copyright: Copyright (c) 2024</p>
 * <p>Company: heyday Marketing GmbH</p>
 * @author <a href="mailto:p.verboom@heyday.marketing">Patrick Verboom</a>
 * @version 1.0
 * 
 * created: 21 Jan 2026
 */

@Schema(name = "TokenPair")
public record TokenPairValue(String accessToken, String refreshToken) {

	@Override
	public String toString() {
		return "TokenPair{" + "accessToken='" + (accessToken != null ? "[REDACTED]" : "null") + '\'' + ", refreshToken='" + (refreshToken != null ? "[REDACTED]" : "null") + '\'' + '}';
	}
}

