in.hocg.sso.server.sample.config.security.autoconfiguration.SsoProperties Maven / Gradle / Ivy
The newest version!
package in.hocg.sso.server.sample.config.security.autoconfiguration;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import java.util.Collections;
import java.util.List;
/**
* Created by hocgin on 2020/8/18
* email: [email protected]
*
* @author hocgin
*/
@Data
@ConfigurationProperties(prefix = SsoProperties.PREFIX)
public class SsoProperties {
public static final String PREFIX = "sso.oauth";
private List clients = Collections.emptyList();
@Data
public static class Client {
private String clientId;
private String clientSecret;
private String[] redirectUris;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy