mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-09 18:36:29 +00:00
Corrected error in revoke token callback (#346)
This commit is contained in:
parent
2c2a98f3b0
commit
1ef37b6741
@ -47,11 +47,11 @@ When the user presses the logout button on the profile page, the external app wi
|
||||
|
||||
```js
|
||||
window.externalApp.revokeExternalAuth({
|
||||
callback: 'externalAuthSetToken'
|
||||
callback: 'externalAuthRevokeToken'
|
||||
});
|
||||
// or
|
||||
window.webkit.messageHandlers.revokeExternalAuth.postMessage({
|
||||
callback: 'externalAuthSetToken'
|
||||
callback: 'externalAuthRevokeToken'
|
||||
});
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user