Skip to content

Commit

Permalink
[core] update core-auth changes for CAE Identity (#26699)
Browse files Browse the repository at this point in the history
  • Loading branch information
KarishmaGhiya authored Aug 3, 2023
1 parent 4a3d621 commit 48e32d4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 14 deletions.
9 changes: 2 additions & 7 deletions sdk/core/core-auth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
# Release History

## 1.4.1 (Unreleased)
## 1.5.0 (2023-08-03)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added `enableCae` option to `GetTokenOptions` to enable Continuous Access Evaluation in [PR #26614](https://github.com/Azure/azure-sdk-for-js/pull/26614).
## 1.4.0 (2022-08-04)

### Features Added
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/core-auth/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@azure/core-auth",
"version": "1.4.1",
"version": "1.5.0",
"description": "Provides low-level interfaces and helper methods for authentication in Azure SDK",
"sdk-type": "client",
"main": "dist/index.js",
Expand Down
1 change: 1 addition & 0 deletions sdk/core/core-auth/review/core-auth.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export class AzureSASCredential implements SASCredential {
export interface GetTokenOptions {
abortSignal?: AbortSignalLike;
claims?: string;
enableCae?: boolean;
requestOptions?: {
timeout?: number;
};
Expand Down
14 changes: 8 additions & 6 deletions sdk/core/core-auth/src/tokenCredential.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,18 @@ export interface GetTokenOptions {
*/
tracingContext?: TracingContext;
};

/**
* Allows specifying a tenantId. Useful to handle challenges that provide tenant Id hints.
*/
tenantId?: string;

/**
* Claim details to perform the Continuous Access Evaluation authentication flow
*/
claims?: string;
/**
* Indicates whether to enable the Continuous Access Evaluation authentication flow
*/
enableCae?: boolean;
/**
* Allows specifying a tenantId. Useful to handle challenges that provide tenant Id hints.
*/
tenantId?: string;
}

/**
Expand Down

0 comments on commit 48e32d4

Please sign in to comment.