Class ResourceOwner


  • public class ResourceOwner
    extends Object
    Models a OAuth2 resource owner.
    Since:
    12.0.0
    • Method Detail

      • getId

        public String getId()
        Gets the identifier of the resource owner.
        Returns:
        The resource owner id.
      • getAuthTime

        public long getAuthTime()
        Gets the time at which the user last performed an active auth, in seconds.
        Returns:
        The authentication time in seconds.
      • getIdentity

        public AMIdentity getIdentity()
        Gets the resource owner's identity.
        Returns:
        The identity.