question: void saveDeviceProfile ( @ Nonnull String user , @ Nonnull String realm , @ Nonnull OathDeviceSettings deviceSettings ) throws AuthLoginException { Reject . ifNull ( user , realm , deviceSettings ) ; try { devicesDao . saveDeviceProfiles ( user , realm , jsonUtils . toJsonValues ( Collections . singletonList ( deviceSettings ) ) ) ; } catch ( IOException e ) { debug . error ( "OathMaker.createDeviceProfile(): Unable to save device profile for user {} in realm {}" , user , realm , e ) ; throw new AuthLoginException ( e ) ; } }
target:  Saves the OATH device settings to the user's profile, overwriting any existing device profile.