Search in sources :

Example 1 with ClientInstallationRepresentation

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);
}
Also used : ClientInstallationRepresentation(org.keycloak.representations.info.ClientInstallationRepresentation)

Aggregations

ClientInstallationRepresentation (org.keycloak.representations.info.ClientInstallationRepresentation)1