Package org.apereo.cas.ticket.device
Interface OAuth20DeviceTokenFactory
- All Superinterfaces:
org.apereo.cas.ticket.TicketFactory
public interface OAuth20DeviceTokenFactory
extends org.apereo.cas.ticket.TicketFactory
Factory to create OAuth device tokens.
- Since:
- 5.0.0
-
Field Summary
Fields inherited from interface org.apereo.cas.ticket.TicketFactory
BEAN_NAME -
Method Summary
Modifier and TypeMethodDescriptioncreateDeviceCode(org.apereo.cas.authentication.principal.Service service) Create an device token.Methods inherited from interface org.apereo.cas.ticket.TicketFactory
get, getExpirationPolicyBuilder, getName, getTicketType
-
Method Details
-
createDeviceCode
OAuth20DeviceToken createDeviceCode(org.apereo.cas.authentication.principal.Service service) throws Throwable Create an device token.- Parameters:
service- the service- Returns:
- the device token
- Throws:
Throwable- the throwable
-