Package org.apereo.cas.ticket.device
Interface OAuth20DeviceToken
-
- All Superinterfaces:
org.apereo.cas.ticket.AuthenticationAwareTicket,java.lang.Comparable<org.apereo.cas.ticket.Ticket>,java.io.Serializable,org.apereo.cas.ticket.Ticket,org.apereo.cas.ticket.TicketState
public interface OAuth20DeviceToken extends org.apereo.cas.ticket.Ticket, org.apereo.cas.ticket.TicketStateThis isOAuth20DeviceToken.- Since:
- 6.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPREFIXPrefix generally applied to unique ids.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidassignUserCode(OAuth20DeviceUserCode userCode)Instantiates a new Assign user code.org.apereo.cas.authentication.principal.ServicegetService()Gets service.java.lang.StringgetUserCode()Gets user code.
-
-
-
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(OAuth20DeviceUserCode userCode)
Instantiates a new Assign user code.- Parameters:
userCode- the user code
-
-