Interface OAuth20DeviceUserCode

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

public interface OAuth20DeviceUserCode 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
    Approve user code.
    Gets device code.
    boolean
    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, getLastTimeUsed, getPrefix, getPreviousTimeUsed, isExpired, markTicketExpired, update
  • Field Details

  • Method Details

    • isUserCodeApproved

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

      void approveUserCode()
      Approve user code.
    • getDeviceCode

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