Skip to content

Add Continuous Access Evaluation (CAE) support#173

Merged
andrueastman merged 3 commits intodevfrom
andrueastman/addCAESupport
Nov 25, 2020
Merged

Add Continuous Access Evaluation (CAE) support#173
andrueastman merged 3 commits intodevfrom
andrueastman/addCAESupport

Conversation

@andrueastman
Copy link
Contributor

@andrueastman andrueastman commented Nov 18, 2020

This PR fixes #166

The PR involves extracting the claims property from WwwAuthenticate headers from 401 responses. The claims property is then Base64 decoded before being placed in the GraphContext through the AuthenticationHandlerOption property.

Placing the claims in the GraphContext will then enable the relevant AuthProviders to read the claims property and use it during the Authentication phase.

Related Links

@andrueastman andrueastman changed the title Add cae support [WIP] Add Continuous Access Evaluation (CAE) support [WIP] Nov 18, 2020
@andrueastman andrueastman force-pushed the andrueastman/addCAESupport branch from 50341ae to d6d2447 Compare November 23, 2020 07:37
@andrueastman andrueastman self-assigned this Nov 23, 2020
@andrueastman andrueastman marked this pull request as ready for review November 23, 2020 12:20
@andrueastman andrueastman changed the title Add Continuous Access Evaluation (CAE) support [WIP] Add Continuous Access Evaluation (CAE) support Nov 23, 2020
Copy link
Contributor

@ddyett ddyett left a comment

Choose a reason for hiding this comment

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

looks good to me. fine with check in once Peter's comment is addressed.

MIchaelMainer
MIchaelMainer previously approved these changes Nov 23, 2020
Copy link
Collaborator

@MIchaelMainer MIchaelMainer left a comment

Choose a reason for hiding this comment

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

Approved pending suggested changes.

Co-authored-by: Peter Ombwa <peter.ombwa@microsoft.com>
@andrueastman andrueastman merged commit dee4c46 into dev Nov 25, 2020
@andrueastman andrueastman deleted the andrueastman/addCAESupport branch November 25, 2020 08:33
@andrueastman andrueastman mentioned this pull request Nov 25, 2020
andrueastman pushed a commit that referenced this pull request Dec 7, 2020
* Add CAE support to the core library

* Make the CAEAuthprovider class internal

* Add null check for authenticationProviderOption

Co-authored-by: Peter Ombwa <peter.ombwa@microsoft.com>

Co-authored-by: Peter Ombwa <peter.ombwa@microsoft.com>
This was referenced Dec 7, 2020
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.

Add Continuous Access Evaluation (CAE) support to AuthProviders

5 participants