Class Identity.Simple

  • All Implemented Interfaces:
    Identity
    Enclosing interface:
    Identity

    public static final class Identity.Simple
    extends Object
    implements Identity
    Simple identity.
    Since:
    0.1
    • Constructor Detail

      • Simple

        public Simple​(String urn)
        Ctor.
        Parameters:
        urn - URN of the identity
      • Simple

        public Simple​(String urn,
                      Map<String,​String> map)
        Ctor.
        Parameters:
        urn - URN of the identity
        map - Map of properties
    • Method Detail

      • urn

        public String urn()
        Description copied from interface: Identity
        URN of it, in "urn:PASS:ID" format.
        Specified by:
        urn in interface Identity
        Returns:
        URN of the user
      • properties

        public Map<String,​String> properties()
        Description copied from interface: Identity
        Properties of it, like name, photo, etc.
        Specified by:
        properties in interface Identity
        Returns:
        Properties