public static IdentityType fromId(String id) {
        return Arrays.stream(values())
                .filter(v -> v.id.equals(id))
                .findFirst()
                .orElseThrow(() -> new IllegalArgumentException("Invalid id: " + id));
    }
Represents the types of identities that the configserver can provide.

@author bjorncs
vespa-athenz/src/main/java/com/yahoo/vespa/athenz/identityprovider/api/IdentityType.java