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.BaseCasActuatorEndpointThis isU2FRegisteredDevicesEndpoint.- Since:
- 6.3.0
-
-
Constructor Summary
Constructors Constructor Description U2FRegisteredDevicesEndpoint(org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.springframework.beans.factory.ObjectProvider<org.apereo.cas.adaptors.u2f.storage.U2FDeviceRepository> u2fDeviceRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(java.lang.String username)Delete.voiddelete(java.lang.String username, java.lang.Long id)Delete.java.util.Collection<? extends org.apereo.cas.adaptors.u2f.storage.U2FDeviceRegistration>fetchAll()Fetch all and provide collection.java.util.Collection<? extends org.apereo.cas.adaptors.u2f.storage.U2FDeviceRegistration>fetchBy(java.lang.String username)Fetch by username and provide collection.
-
-
-
Method Detail
-
fetchAll
@ReadOperation(produces="application/json") public java.util.Collection<? extends org.apereo.cas.adaptors.u2f.storage.U2FDeviceRegistration> fetchAll()
Fetch all and provide collection.- Returns:
- the collection
-
fetchBy
@ReadOperation(produces="application/json") public java.util.Collection<? extends org.apereo.cas.adaptors.u2f.storage.U2FDeviceRegistration> fetchBy(@Selector java.lang.String username)Fetch by username and provide collection.- Parameters:
username- the username- Returns:
- the collection
-
delete
@DeleteOperation public void delete(@Selector java.lang.String username)Delete.- Parameters:
username- the username
-
delete
@DeleteOperation public void delete(@Selector java.lang.String username, @Selector java.lang.Long id)Delete.- Parameters:
username- the usernameid- the id
-
-