com.databricks.sdk.core.oauth.OpenIDConnectEndpoints Maven / Gradle / Ivy
package com.databricks.sdk.core.oauth;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.net.MalformedURLException;
/**
* Data class modelling the set of OpenID Connect endpoints, as defined in the
* OIDC spec.
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class OpenIDConnectEndpoints {
private String tokenEndpoint;
private String authorizationEndpoint;
public OpenIDConnectEndpoints(
@JsonProperty("token_endpoint") String tokenEndpoint,
@JsonProperty("authorization_endpoint") String authorizationEndpoint)
throws MalformedURLException {
this.tokenEndpoint = tokenEndpoint;
this.authorizationEndpoint = authorizationEndpoint;
}
public String getTokenEndpoint() {
return tokenEndpoint;
}
public String getAuthorizationEndpoint() {
return authorizationEndpoint;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy