@WriteOperation
    @Operation(summary = "Register device using the principal id and device id",
        parameters = {
            @Parameter(name = "principal", required = true, description = "The principal to register the device for"),
            @Parameter(name = "deviceId", required = true, description = "The device id to register")
        })
    public void registerDevice(@Selector final String principal, @Selector final String deviceId) {
        repository.getObject().authorizeDeviceFor(principal, deviceId);
    }
Register device.

@param principal the principal
@param deviceId  the device id
support/cas-server-support-qr-authentication/src/main/java/org/apereo/cas/qr/web/QRAuthenticationDeviceRepositoryEndpoint.java