package ai.sentryagent.idp.models;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

/** OAuth 2.0 access token response (RFC 6749). */
@JsonIgnoreProperties(ignoreUnknown = true)
public final class TokenResponse {

    @JsonProperty("access_token") private String accessToken;
    @JsonProperty("token_type")   private String tokenType;
    @JsonProperty("expires_in")   private int expiresIn;
    @JsonProperty("scope")        private String scope;

    public TokenResponse() {}

    public String getAccessToken() { return accessToken; }
    public String getTokenType()   { return tokenType; }
    public int getExpiresIn()      { return expiresIn; }
    public String getScope()       { return scope; }
}
