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

Split classes out into files #2

Merged
merged 2 commits into from Apr 1, 2017
Merged

Split classes out into files #2

merged 2 commits into from Apr 1, 2017

Conversation

shivbijlani
Copy link
Contributor

No description provided.

@msftclas
Copy link

msftclas commented Apr 1, 2017

@shivbijlani,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@shivbijlani shivbijlani requested a review from kpanwar April 1, 2017 01:33
@shivbijlani shivbijlani changed the base branch from master to dev April 1, 2017 01:41
Copy link

@kpanwar kpanwar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

static get accessToken(): string { return "access_token"; }
static get expiresIn(): string { return "expires_in"; }
static get sessionState(): string { return "session_state"; }
static get tokenKeys(): string { return "adal.token.keys"; }
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as a part of refactor can we replace all "adal" with "msal"?

@@ -1,14 +1,18 @@
{
"compileOnSave": true,
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"target": "es5",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rohitnarula7176 - I thought we were targeting es6?

@kpanwar kpanwar merged commit 8ea1e31 into dev Apr 1, 2017
@kpanwar kpanwar deleted the shivb/splitClasses branch April 4, 2017 01:54
@nehaagrawal nehaagrawal mentioned this pull request Sep 12, 2018
pkanher617 pushed a commit that referenced this pull request Jun 17, 2020
[msal-node][#2] Merge cache logic in `msal-common` for `node` and `browser` platforms
@sameerag sameerag mentioned this pull request Jun 24, 2020
1 task
sangonzal added a commit that referenced this pull request Jun 30, 2020
sangonzal pushed a commit that referenced this pull request Aug 3, 2020
tnorling added a commit that referenced this pull request Aug 4, 2020
Telemetry #2: Implement Telemetry in msal-browser
pkanher617 pushed a commit that referenced this pull request Aug 8, 2020
pkanher617 pushed a commit that referenced this pull request Aug 26, 2020
Broker #2: Sending auth requests
pkanher617 pushed a commit that referenced this pull request Aug 28, 2020
AT Proof-Of-Possession #2: Handle proof-of-possession tokens correctly in responses
tnorling added a commit that referenced this pull request Oct 21, 2020
jo-arroyo added a commit that referenced this pull request Apr 15, 2021
hectormmg added a commit that referenced this pull request Feb 2, 2022
* Add KeyManager class

* Add STK JWK to BaseAuthRequest

* Add STK generation logic to common and browser

* Update PublicClientApplication tests to mock out STK generation from Auth Code requests

* Undo msal-node-samples changes

* Move generateCnf from PopTokenGenerator to KeyManager

* Refactor crypto key generation to use different key generation algorithm options for AT and RT PoP

* Add missing API from Crypto Interface to msal-node

* Fix linter issues

* Add rtPop msal-browser sample

* Add stk_jwk to /authorize call in AuthorizationCodeClient to initiate bound rt flow

* Add STK JWK to /token request to obtain bound rt response

* Add stkJwk to AuthorizationCodeClient tests

* Update mock crypto interface in tests

* Fix merge conflicts

* Cleanup tests

* Refactor Cryptographic constants out of BrowserConstants and CryptoOps

* Fix generatePublicKeyThumbprint stubs and expected values on tests

* Fix tests after merge

* Add feature flag to make RT Binding opt-in

* Add error handling to STK generation step

* Refactor crypto enum names

* Add error handling for crypto key generation

* Put KeyManager instance in BaseClient instead of AuthCode and Refresh Clients

* Fix import in BaseClient

* Extend KeyManager tests

* Increase test coverage

* Update lib/msal-browser/src/utils/CryptoConstants.ts

* Fix merge conflicts

* Add boundRT sample

* Undo unnecessary method position change

* Add initial e2e tests for RT PoP

* Revert to headless false for boundRT e2e test

* Update lib/msal-common/test/client/RefreshTokenClient.spec.ts

Co-authored-by: Thomas Norling <thomas.l.norling@gmail.com>

* Fix incorrect typing and checks for private key on getPublicKeyThumbprint

* Refactor cryptographic constants to have more consistent casing

* Fix CryptoOps tests around getPublicKeyThumbprint

* Move refreshTokenBinding feature flag to system config

* Update browser client config to move refreshTokenBinding flag to system config

* Rename KeyManager to CryptoKeyManager for more specificity

* Update BrowserAuthError to remove keyId from error message and avoid Pii

* Update lib/msal-browser/src/config/Configuration.ts

* Update sample and fix merge bugs

* Remove CryptoKeyManager class

Co-authored-by: Thomas Norling <thomas.l.norling@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants