java.lang.Object
com.sanctionco.opconnect.model.apiactivity.Actor

public class Actor extends Object
Represents an actor (1Password connect server) that performed an APIRequest.

See the APIRequest documentation for more details.

  • Method Details

    • getId

      public String getId()
      Get the ID of the Actor.
      Returns:
      the id of the actor (connect sever)
    • getAccount

      public String getAccount()
      Get the 1Password account ID.
      Returns:
      the id of the 1Password account the actor belongs to
    • getJti

      public String getJti()
      Get the Access Token ID.
      Returns:
      the id of the access token used to authenticate the request
    • getUserAgent

      public String getUserAgent()
      Get the user-agent string.
      Returns:
      the user agent string specified in the request
    • getIp

      public String getIp()
      Get the IP address.
      Returns:
      the ip address the request originated from
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object