use of org.keycloak.representations.info.ClientInstallationRepresentation in project keycloak by keycloak.
the class ServerInfoAdminResource method toClientInstallationRepresentation.
private List<ClientInstallationRepresentation> toClientInstallationRepresentation(ClientInstallationProvider provider) {
ClientInstallationRepresentation rep = new ClientInstallationRepresentation();
rep.setId(provider.getId());
rep.setHelpText(provider.getHelpText());
rep.setDisplayType(provider.getDisplayType());
rep.setProtocol(provider.getProtocol());
rep.setDownloadOnly(provider.isDownloadOnly());
rep.setFilename(provider.getFilename());
rep.setMediaType(provider.getMediaType());
return Arrays.asList(rep);
}
Aggregations