forked from OfficeDev/Microsoft-Teams-Samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes for multi-hub-support for app. (OfficeDev#591)
* Changes for multi-hub-support for app. * Update ApplicationSettings.cs Co-authored-by: Harikrishnan Rajandiran <[email protected]>
- Loading branch information
1 parent
665b68c
commit e6ab5ca
Showing
303 changed files
with
3,257 additions
and
410 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{ | ||
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.13/MicrosoftTeams.schema.json", | ||
"manifestVersion": "1.13", | ||
"version": "1.0", | ||
"id": "<<<REGISTERED_BOT_ID>>", | ||
"packageName": "com.microsoft.teams.samples.auth", | ||
"developer": { | ||
"name": "Your Name Here", | ||
"websiteUrl": "https://<<BASE_URI_DOMAIN>>", | ||
"privacyUrl": "https://<<BASE_URI_DOMAIN>>/PrivacyStatement", | ||
"termsOfUseUrl": "https://<<BASE_URI_DOMAIN>>/TermsOfUse" | ||
}, | ||
"name": { | ||
"short": "Teams AuthBot" | ||
}, | ||
"description": { | ||
"short": "Authentication sample for Microsoft Teams", | ||
"full": "Authentication sample for Microsoft Teams" | ||
}, | ||
"icons": { | ||
"outline": "outline.png", | ||
"color": "color.png" | ||
}, | ||
"accentColor": "#F3F4F6", | ||
"configurableTabs": [ | ||
|
||
], | ||
"staticTabs": [ | ||
{ | ||
"contentUrl": "https://<<BASE_URI_DOMAIN>>/tab/simple", | ||
"entityId": "simpleAuth", | ||
"name": "Simple Auth", | ||
"scopes": [ | ||
"personal" | ||
] | ||
}, | ||
{ | ||
"contentUrl": "https://<<BASE_URI_DOMAIN>>/tab/silent?loginHint={loginHint}&userObjectId={userObjectId}&tenantId={tid}", | ||
"entityId": "silentAuth", | ||
"name": "Silent Auth", | ||
"scopes": [ | ||
"personal" | ||
] | ||
}, | ||
{ | ||
"contentUrl": "https://<<BASE_URI_DOMAIN>>/tab/sso", | ||
"entityId": "ssoAuth", | ||
"name": "SSO Auth", | ||
"scopes": [ | ||
"personal" | ||
] | ||
} | ||
], | ||
"permissions": [ | ||
"messageTeamMembers", | ||
"identity" | ||
], | ||
"validDomains": [ | ||
"<<BASE_URI_DOMAIN>>", | ||
"token.botframework.com" | ||
], | ||
"webApplicationInfo": { | ||
"id": "<<<REGISTERED_BOT_ID>>", | ||
"resource": "api://<<BASE_URI_DOMAIN>>/<<<REGISTERED_BOT_ID>>" | ||
} | ||
} |
File renamed without changes
Large diffs are not rendered by default.
Oops, something went wrong.
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
Binary file added
BIN
+51.6 KB
samples/app-complete-auth/csharp/AppCompleteAuth/Images/AppOffice.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+48.4 KB
samples/app-complete-auth/csharp/AppCompleteAuth/Images/AppOutlook.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+123 KB
samples/app-complete-auth/csharp/AppCompleteAuth/Images/InstallOffice.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+76.5 KB
samples/app-complete-auth/csharp/AppCompleteAuth/Images/InstallOfficeSSOAUth.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+65.7 KB
samples/app-complete-auth/csharp/AppCompleteAuth/Images/InstallOfficeSignIn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+69.4 KB
...les/app-complete-auth/csharp/AppCompleteAuth/Images/InstallOfficeSignInUSer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+44.1 KB
samples/app-complete-auth/csharp/AppCompleteAuth/Images/InstallOutlook.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+74.8 KB
samples/app-complete-auth/csharp/AppCompleteAuth/Images/InstallOutlookSSOAuth.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+84.9 KB
samples/app-complete-auth/csharp/AppCompleteAuth/Images/InstallOutlookSignIn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+66.5 KB
.../app-complete-auth/csharp/AppCompleteAuth/Images/InstallOutlookSignInUserid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
119 changes: 119 additions & 0 deletions
119
samples/app-complete-auth/csharp/AppCompleteAuth/Manifest_Hub/manifest.json
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 |
---|---|---|
@@ -0,0 +1,119 @@ | ||
{ | ||
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.13/MicrosoftTeams.schema.json", | ||
"manifestVersion": "1.13", | ||
"version": "1.0.0", | ||
"id": "{{Microsoft-App-Id}}", | ||
"packageName": "com.microsoft.teams.appcompleteauth", | ||
"developer": { | ||
"name": "Microsoft", | ||
"websiteUrl": "https://example.azurewebsites.net", | ||
"privacyUrl": "https://example.azurewebsites.net/privacy", | ||
"termsOfUseUrl": "https://example.azurewebsites.net/termsofuse" | ||
}, | ||
"icons": { | ||
"color": "color.png", | ||
"outline": "outline.png" | ||
}, | ||
"name": { | ||
"short": "App complete auth" | ||
}, | ||
"description": { | ||
"short": "Authentication sample for Microsoft Teams", | ||
"full": "Authentication sample for Microsoft Teams" | ||
}, | ||
"accentColor": "#FFFFFF", | ||
"staticTabs": [ | ||
{ | ||
"contentUrl": "https://{{Base_URL_Domain}}/tab", | ||
"entityId": "Auth", | ||
"name": "Auth", | ||
"scopes": [ | ||
"personal" | ||
] | ||
} | ||
], | ||
"composeExtensions": [ | ||
{ | ||
"botId": "{{Microsoft-App-Id}}", | ||
"canUpdateConfiguration": true, | ||
"commands": [ | ||
{ | ||
"id": "searchQuery", | ||
"type": "query", | ||
"title": "Search", | ||
"description": "Perform a search", | ||
"initialRun": true, | ||
"fetchTask": false, | ||
"context": [ | ||
"commandBox", | ||
"compose" | ||
], | ||
"parameters": [ | ||
{ | ||
"name": "searchQuery", | ||
"title": "Search", | ||
"description": "Your search query", | ||
"inputType": "text" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "SSO", | ||
"type": "action", | ||
"title": "AAD SSO authentication", | ||
"description": "SSO authentication", | ||
"initialRun": false, | ||
"fetchTask": true, | ||
"context": [ | ||
"commandBox", | ||
"compose" | ||
] | ||
}, | ||
{ | ||
"id": "FacebookLogin", | ||
"description": "Sign in to facebook", | ||
"title": "Facebook login (OAuth 2)", | ||
"type": "action", | ||
"fetchTask": true, | ||
"context": [ | ||
"commandBox", | ||
"compose" | ||
] | ||
}, | ||
{ | ||
"id": "UserCredentials", | ||
"description": "Sign in using user credentials", | ||
"title": "User Id/password login", | ||
"type": "action", | ||
"fetchTask": true, | ||
"context": [ | ||
"commandBox", | ||
"compose" | ||
] | ||
} | ||
], | ||
"messageHandlers": [ | ||
{ | ||
"type": "link", | ||
"value": { | ||
"domains": [ | ||
"*.botframework.com", | ||
"https://{{Base_URL_Domain}}" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
], | ||
"permissions": [ | ||
"identity", | ||
"messageTeamMembers" | ||
], | ||
"validDomains": [ | ||
"{Base_URL_Domain}" | ||
], | ||
"webApplicationInfo": { | ||
"id": "{{Microsoft-App-Id}}", | ||
"resource": "api://{{Base_URL_Domain}}/botid-{{Microsoft-App-Id}}" | ||
} | ||
} |
File renamed without changes
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
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
File renamed without changes
Oops, something went wrong.