Interface DeviceToken

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

    public interface DeviceToken
    extends org.apereo.cas.ticket.Ticket, org.apereo.cas.ticket.TicketState
    This is DeviceToken.
    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 assignUserCode​(DeviceUserCode userCode)
      Instantiates a new Assign user code.
      org.apereo.cas.authentication.principal.Service getService()
      Gets service.
      java.lang.String getUserCode()
      Gets user code.
      • 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
      • Methods inherited from interface org.apereo.cas.ticket.TicketState

        getAuthentication, getCountOfUses, getCreationTime, getLastTimeUsed, getPreviousTimeUsed, getTicketGrantingTicket, update
    • Field Detail

      • PREFIX

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

      • getService

        org.apereo.cas.authentication.principal.Service getService()
        Gets service.
        Returns:
        the service
      • getUserCode

        java.lang.String getUserCode()
        Gets user code.
        Returns:
        the user code
      • assignUserCode

        void assignUserCode​(DeviceUserCode userCode)
        Instantiates a new Assign user code.
        Parameters:
        userCode - the user code