Interface DeviceUserCode

  • All Superinterfaces:
    java.lang.Comparable<org.apereo.cas.ticket.Ticket>, java.io.Serializable, org.apereo.cas.ticket.Ticket

    public interface DeviceUserCode
    extends org.apereo.cas.ticket.Ticket
    Since:
    6.0.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String PREFIX
      Prefix generally applied to unique ids.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void approveUserCode()
      Approve user code.
      java.lang.String getDeviceCode()
      Gets device code.
      boolean isUserCodeApproved()
      Indicate whether the provided user code is approved by the end-user.
      • Methods inherited from interface java.lang.Comparable

        compareTo
      • Methods inherited from interface org.apereo.cas.ticket.Ticket

        getCountOfUses, getCreationTime, getExpirationPolicy, getId, getPrefix, getTicketGrantingTicket, isExpired, markTicketExpired
    • Field Detail

      • PREFIX

        static final java.lang.String PREFIX
        Prefix generally applied to unique ids.
        See Also:
        Constant Field Values
    • Method Detail

      • isUserCodeApproved

        boolean isUserCodeApproved()
        Indicate whether the provided user code is approved by the end-user.
        Returns:
        the boolean
      • approveUserCode

        void approveUserCode()
        Approve user code.
      • getDeviceCode

        java.lang.String getDeviceCode()
        Gets device code.
        Returns:
        the device code