-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
misc: support to show third party displayName (#862)
* misc: support to third party displayName * misc: version 2.0.1
- Loading branch information
Showing
4 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,12 +9,14 @@ document.querySelector("#rc-widget-adapter-frame").contentWindow.postMessage({ | |
type: 'rc-adapter-register-third-party-service', | ||
service: { | ||
name: 'TestService', | ||
displayName: 'TestServiceDisplayName', // Optional, supported from 2.0.1 | ||
info: 'Some description about this service', // Optional, supported from 2.0.0 | ||
authorizationPath: '/authorize', | ||
authorizedTitle: 'Unauthorize', | ||
unauthorizedTitle: 'Authorize', | ||
authorized: false, | ||
authorizedAccount: '[email protected]', // optional, authorized account email or id | ||
authorizationLogo: 'https://your_brand_picture/logo.png', // optional, show your brand logo in authorization section, recommended: height 20px, width < 85px. | ||
authorizationLogo: 'https://your_brand_picture/logo.png', // optional, show your brand logo in authorization section, recommended: height 30px, width < 85px. | ||
// showAuthRedDot: true, // optional, this will show red dot at settings page when need to auth | ||
} | ||
}, '*'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters