Package org.apereo.cas.adaptors.u2f.web
Class U2FRegisteredDevicesEndpoint
java.lang.Object
org.apereo.cas.web.BaseCasActuatorEndpoint
org.apereo.cas.adaptors.u2f.web.U2FRegisteredDevicesEndpoint
@Endpoint(id="u2fDevices",
enableByDefault=false)
public class U2FRegisteredDevicesEndpoint
extends org.apereo.cas.web.BaseCasActuatorEndpoint
This is
U2FRegisteredDevicesEndpoint.- Since:
- 6.3.0
-
Field Summary
Fields inherited from class org.apereo.cas.web.BaseCasActuatorEndpoint
casProperties, MEDIA_TYPE_CAS_YAML, MEDIA_TYPE_SPRING_BOOT_V2_JSON, MEDIA_TYPE_SPRING_BOOT_V3_JSON -
Constructor Summary
ConstructorsConstructorDescriptionU2FRegisteredDevicesEndpoint(org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.springframework.beans.factory.ObjectProvider<org.apereo.cas.adaptors.u2f.storage.U2FDeviceRepository> u2fDeviceRepository) -
Method Summary
Modifier and TypeMethodDescriptionvoidDelete.voidDelete.Collection<? extends org.apereo.cas.adaptors.u2f.storage.U2FDeviceRegistration>fetchAll()Fetch all and provide collection.Collection<? extends org.apereo.cas.adaptors.u2f.storage.U2FDeviceRegistration>Fetch by username and provide collection.
-
Constructor Details
-
U2FRegisteredDevicesEndpoint
public U2FRegisteredDevicesEndpoint(org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.springframework.beans.factory.ObjectProvider<org.apereo.cas.adaptors.u2f.storage.U2FDeviceRepository> u2fDeviceRepository)
-
-
Method Details
-
fetchAll
@ReadOperation(produces="application/json") public Collection<? extends org.apereo.cas.adaptors.u2f.storage.U2FDeviceRegistration> fetchAll()Fetch all and provide collection.- Returns:
- the collection
-
fetchBy
@ReadOperation(produces="application/json") public Collection<? extends org.apereo.cas.adaptors.u2f.storage.U2FDeviceRegistration> fetchBy(@Selector String username) Fetch by username and provide collection.- Parameters:
username- the username- Returns:
- the collection
-
delete
Delete.- Parameters:
username- the username
-
delete
Delete.- Parameters:
username- the usernameid- the id
-