java.lang.Object
org.keycloak.protocol.oid4vc.model.Role

public class Role extends Object
Pojo representation of a role to be added by the OID4VCTargetRoleMapper
Author:
Stefan Wiedemann
  • Constructor Details

    • Role

      public Role()
    • Role

      public Role(Set<String> names, String target)
  • Method Details

    • getNames

      public Set<String> getNames()
    • setNames

      public void setNames(Set<String> names)
    • getTarget

      public String getTarget()
    • setTarget

      public void setTarget(String target)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object