Interface OAuth20DeviceToken

All Superinterfaces:
Comparable<org.apereo.cas.ticket.Ticket>, Serializable, org.apereo.cas.ticket.Ticket

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

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

    Modifier and Type
    Method
    Description
    void
    Instantiates a new Assign user code.
    org.apereo.cas.authentication.principal.Service
    Gets service.
    Gets user code.

    Methods inherited from interface java.lang.Comparable

    compareTo

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

    getCountOfUses, getCreationTime, getExpirationPolicy, getId, getLastTimeUsed, getPrefix, getPreviousTimeUsed, isExpired, markTicketExpired, update
  • Field Details

  • Method Details

    • getService

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

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

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