This commit is contained in:
@ -0,0 +1,9 @@
|
||||
# Microsoft Authentication for Visual Studio Code
|
||||
|
||||
**Notice:** This extension is bundled with Visual Studio Code. It can be disabled but not uninstalled.
|
||||
|
||||
## Features
|
||||
|
||||
This extension provides support for authenticating to Microsoft. It registers the `microsoft` Authentication Provider that can be leveraged by other extensions. This also provides the Microsoft authentication used by Settings Sync.
|
||||
|
||||
Additionally, it provides the `microsoft-sovereign-cloud` Authentication Provider that can be used to sign in to other Azure clouds like Azure for US Government or Azure China. Use the setting `microsoft-sovereign-cloud.endpoint` to select the authentication endpoint the provider should use. Please note that different scopes may also be required in different environments.
|
2
vscode-server-linux-x64-web/extensions/microsoft-authentication/dist/extension.js
vendored
Normal file
2
vscode-server-linux-x64-web/extensions/microsoft-authentication/dist/extension.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
After Width: | Height: | Size: 34 KiB |
Binary file not shown.
After Width: | Height: | Size: 3.7 KiB |
@ -0,0 +1,37 @@
|
||||
<!-- Copyright (C) Microsoft Corporation. All rights reserved. -->
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Microsoft Account - Sign In</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="auth.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<a class="branding" href="https://code.visualstudio.com/">
|
||||
Visual Studio Code
|
||||
</a>
|
||||
<div class="message-container">
|
||||
<div class="message">
|
||||
You are signed in now and can close this page.
|
||||
</div>
|
||||
<div class="error-message">
|
||||
An error occurred while signing in:
|
||||
<div class="error-text"></div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
var search = window.location.search;
|
||||
var error = (/[?&^]error=([^&]+)/.exec(search) || [])[1];
|
||||
if (error) {
|
||||
document.querySelector('.error-text')
|
||||
.textContent = decodeURIComponent(error);
|
||||
document.querySelector('body')
|
||||
.classList.add('error');
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
@ -0,0 +1 @@
|
||||
{"name":"microsoft-authentication","publisher":"vscode","license":"MIT","displayName":"%displayName%","description":"%description%","version":"0.0.1","engines":{"vscode":"^1.42.0"},"icon":"media/icon.png","categories":["Other"],"activationEvents":[],"enabledApiProposals":["idToken","authGetSessions"],"capabilities":{"virtualWorkspaces":true,"untrustedWorkspaces":{"supported":true}},"extensionKind":["ui","workspace"],"contributes":{"authentication":[{"label":"Microsoft","id":"microsoft"},{"label":"Microsoft Sovereign Cloud","id":"microsoft-sovereign-cloud"}],"configuration":[{"title":"Microsoft Sovereign Cloud","properties":{"microsoft-sovereign-cloud.environment":{"type":"string","markdownDescription":"%microsoft-sovereign-cloud.environment.description%","enum":["ChinaCloud","USGovernment","custom"],"enumDescriptions":["%microsoft-sovereign-cloud.environment.enumDescriptions.AzureChinaCloud%","%microsoft-sovereign-cloud.environment.enumDescriptions.AzureUSGovernment%","%microsoft-sovereign-cloud.environment.enumDescriptions.custom%"]},"microsoft-sovereign-cloud.customEnvironment":{"type":"object","additionalProperties":true,"markdownDescription":"%microsoft-sovereign-cloud.customEnvironment.description%","properties":{"name":{"type":"string","description":"%microsoft-sovereign-cloud.customEnvironment.name.description%"},"portalUrl":{"type":"string","description":"%microsoft-sovereign-cloud.customEnvironment.portalUrl.description%"},"managementEndpointUrl":{"type":"string","description":"%microsoft-sovereign-cloud.customEnvironment.managementEndpointUrl.description%"},"resourceManagerEndpointUrl":{"type":"string","description":"%microsoft-sovereign-cloud.customEnvironment.resourceManagerEndpointUrl.description%"},"activeDirectoryEndpointUrl":{"type":"string","description":"%microsoft-sovereign-cloud.customEnvironment.activeDirectoryEndpointUrl.description%"},"activeDirectoryResourceId":{"type":"string","description":"%microsoft-sovereign-cloud.customEnvironment.activeDirectoryResourceId.description%"}},"required":["name","portalUrl","managementEndpointUrl","resourceManagerEndpointUrl","activeDirectoryEndpointUrl","activeDirectoryResourceId"]}}}]},"aiKey":"0c6ae279ed8443289764825290e4f9e2-1a736e7c-1324-4338-be46-fc2a58ae4d14-7255","main":"./dist/extension.js","browser":"./dist/browser/extension.js","repository":{"type":"git","url":"https://github.com/microsoft/vscode.git"}}
|
@ -0,0 +1 @@
|
||||
{"displayName":"Microsoft Account","description":"Microsoft authentication provider","signIn":"Sign In","signOut":"Sign Out","microsoft-sovereign-cloud.environment.description":{"message":"The Sovereign Cloud to use for authentication. If you select `custom`, you must also set the `#microsoft-sovereign-cloud.customEnvironment#` setting.","comment":["{Locked='`#microsoft-sovereign-cloud.customEnvironment#`'}","The `#microsoft-sovereign-cloud.customEnvironment#` syntax will turn into a link. Do not translate it."]},"microsoft-sovereign-cloud.environment.enumDescriptions.AzureChinaCloud":"Azure China","microsoft-sovereign-cloud.environment.enumDescriptions.AzureUSGovernment":"Azure US Government","microsoft-sovereign-cloud.environment.enumDescriptions.custom":"A custom Microsoft Sovereign Cloud","microsoft-sovereign-cloud.customEnvironment.description":{"message":"The custom configuration for the Sovereign Cloud to use with the Microsoft Sovereign Cloud authentication provider. This along with setting `#microsoft-sovereign-cloud.environment#` to `custom` is required to use this feature.","comment":["{Locked='`#microsoft-sovereign-cloud.environment#`'}","The `#microsoft-sovereign-cloud.environment#` syntax will turn into a link. Do not translate it."]},"microsoft-sovereign-cloud.customEnvironment.name.description":"The name of the custom Sovereign Cloud.","microsoft-sovereign-cloud.customEnvironment.portalUrl.description":"The portal URL for the custom Sovereign Cloud.","microsoft-sovereign-cloud.customEnvironment.managementEndpointUrl.description":"The management endpoint for the custom Sovereign Cloud.","microsoft-sovereign-cloud.customEnvironment.resourceManagerEndpointUrl.description":"The resource manager endpoint for the custom Sovereign Cloud.","microsoft-sovereign-cloud.customEnvironment.activeDirectoryEndpointUrl.description":"The Active Directory endpoint for the custom Sovereign Cloud.","microsoft-sovereign-cloud.customEnvironment.activeDirectoryResourceId.description":"The Active Directory resource ID for the custom Sovereign Cloud."}
|
Reference in New Issue
Block a user