Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial skeleton and design document for Native Auth features #7414

Closed
wants to merge 42 commits into from
Closed
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
eeee622
Skeleton
Nov 8, 2024
897677b
Commit
Nov 10, 2024
8972d9e
Commit
Nov 11, 2024
bedfd47
Commit
Nov 11, 2024
55de7d9
Refactor 1
shenj Nov 19, 2024
b228f19
Update for design doc
shenj Nov 21, 2024
74b4431
Commit
shenj Nov 22, 2024
6c863f5
rename design doc
shenj Nov 22, 2024
cb321c9
Design update
shenj Nov 22, 2024
fc59df0
Commit
shenj Nov 22, 2024
09e1b25
Remove the design doc
shenj Nov 22, 2024
4ba880b
ignore build output
shenj Nov 27, 2024
35b4cee
Updates for feedbacks
shenj Nov 28, 2024
c589ec1
Commit
shenj Dec 9, 2024
c78a870
Commit
shenj Dec 9, 2024
284cee0
Restructure folders
shenj Dec 13, 2024
238a289
rename package
shenj Dec 13, 2024
fd0514e
Rename
shenj Dec 13, 2024
d80be99
feedbacks
shenj Dec 23, 2024
f259b87
- Setup msal-custom-auth sample for e2e
nguyencuong2596 Dec 24, 2024
e5d113b
Merge branch 'jiashen/sketeton' of https://github.com/AzureAD/microso…
nguyencuong2596 Dec 24, 2024
8821c6b
Commit
shenj Dec 24, 2024
0d7e08e
Merge branch 'dev' into jiashen/sketeton
nguyencuong2596 Dec 24, 2024
1546766
Change build command
nguyencuong2596 Dec 24, 2024
7bef47c
Update packages
nguyencuong2596 Dec 24, 2024
360914d
Alter build:all
nguyencuong2596 Dec 24, 2024
9c63cbf
Change files
nguyencuong2596 Dec 24, 2024
0f9a609
Fix lint and alter build:all
nguyencuong2596 Dec 24, 2024
a43a3e7
Change package
nguyencuong2596 Dec 24, 2024
a4456af
Modify build:all
nguyencuong2596 Dec 27, 2024
dd900f8
Update package lock
nguyencuong2596 Dec 27, 2024
dcdd889
Update package
nguyencuong2596 Dec 27, 2024
11a1501
Update package
nguyencuong2596 Dec 27, 2024
7e2a275
Update readme
nguyencuong2596 Dec 27, 2024
ebd1f05
Update package.json
nguyencuong2596 Dec 30, 2024
502f3b7
Change files
nguyencuong2596 Dec 30, 2024
c2693d4
Update sample-sample
nguyencuong2596 Dec 30, 2024
5ab330f
Add puppeteer and e2e-test-utils
nguyencuong2596 Dec 30, 2024
cef93eb
Format code
nguyencuong2596 Dec 30, 2024
bc4ddfb
Use shx rm instead of rimraf
nguyencuong2596 Dec 30, 2024
d810d5f
Update api document
nguyencuong2596 Dec 30, 2024
b611c3f
Common changes for signin
shenj Jan 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
{
"name": "msal-node-extensions",
"rootPath": "extensions/msal-node-extensions"
},
{
"name": "msal-native-auth",
"rootPath": "lib/msal-native-auth"
}
]
}
9 changes: 9 additions & 0 deletions lib/msal-browser/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export {
} from "./app/PublicClientApplication.js";
export { PublicClientNext } from "./app/PublicClientNext.js";
export { IController } from "./controllers/IController.js";
export { StandardController } from "./controllers/StandardController.js";
export {
Configuration,
BrowserAuthOptions,
Expand Down Expand Up @@ -68,6 +69,12 @@ export { AuthenticationResult } from "./response/AuthenticationResult.js";
export { ClearCacheRequest } from "./request/ClearCacheRequest.js";
export { InitializeApplicationRequest } from "./request/InitializeApplicationRequest.js";

// Network
shenj marked this conversation as resolved.
Show resolved Hide resolved
export { FetchClient } from "./network/FetchClient.js";

// Operating Context
export { BaseOperatingContext } from "./operatingcontext/BaseOperatingContext.js";

// Cache
export { LoadTokenOptions } from "./cache/TokenCache.js";
export { ITokenCache } from "./cache/ITokenCache.js";
Expand Down Expand Up @@ -155,6 +162,8 @@ export {
TenantProfile,
IPerformanceClient,
StubPerformanceClient,
TokenClaims,
Constants,
} from "@azure/msal-common/browser";

export { version } from "./packageMetadata.js";
3 changes: 3 additions & 0 deletions lib/msal-native-auth/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "eslint-config-msal"
}
11 changes: 11 additions & 0 deletions lib/msal-native-auth/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.

*.log
.DS_Store
/node_modules
.cache
/dist
/lib

# Type docs
ref/
1 change: 1 addition & 0 deletions lib/msal-native-auth/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
Empty file.
Empty file added lib/msal-native-auth/FAQ.md
Empty file.
21 changes: 21 additions & 0 deletions lib/msal-native-auth/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) Microsoft Corporation. All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE
Empty file added lib/msal-native-auth/README.md
Empty file.
4 changes: 4 additions & 0 deletions lib/msal-native-auth/api-extractor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"extends": "../../api-extractor-base.json"
}
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
Loading