Delete oauth service and token when thing removed (#14980)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
This commit is contained in:
parent
1fafec5d11
commit
e6d84ab488
|
@ -125,6 +125,12 @@ public class EcobeeAccountBridgeHandler extends BaseBridgeHandler {
|
|||
logger.debug("AccountBridge: Disposing");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handleRemoval() {
|
||||
oAuthFactory.deleteServiceAndAccessToken(thing.getUID().getAsString());
|
||||
super.handleRemoval();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handleCommand(ChannelUID channelUID, Command command) {
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue