Skip to content

Commit 48e32d4

Browse files
[core] update core-auth changes for CAE Identity (Azure#26699)
1 parent 4a3d621 commit 48e32d4

File tree

4 files changed

+12
-14
lines changed

4 files changed

+12
-14
lines changed

sdk/core/core-auth/CHANGELOG.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
# Release History
22

3-
## 1.4.1 (Unreleased)
3+
## 1.5.0 (2023-08-03)
44

55
### Features Added
66

7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
12-
7+
- Added `enableCae` option to `GetTokenOptions` to enable Continuous Access Evaluation in [PR #26614](https://github.com/Azure/azure-sdk-for-js/pull/26614).
138
## 1.4.0 (2022-08-04)
149

1510
### Features Added

sdk/core/core-auth/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@azure/core-auth",
3-
"version": "1.4.1",
3+
"version": "1.5.0",
44
"description": "Provides low-level interfaces and helper methods for authentication in Azure SDK",
55
"sdk-type": "client",
66
"main": "dist/index.js",

sdk/core/core-auth/review/core-auth.api.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export class AzureSASCredential implements SASCredential {
3838
export interface GetTokenOptions {
3939
abortSignal?: AbortSignalLike;
4040
claims?: string;
41+
enableCae?: boolean;
4142
requestOptions?: {
4243
timeout?: number;
4344
};

sdk/core/core-auth/src/tokenCredential.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,18 @@ export interface GetTokenOptions {
4747
*/
4848
tracingContext?: TracingContext;
4949
};
50-
51-
/**
52-
* Allows specifying a tenantId. Useful to handle challenges that provide tenant Id hints.
53-
*/
54-
tenantId?: string;
55-
5650
/**
5751
* Claim details to perform the Continuous Access Evaluation authentication flow
5852
*/
5953
claims?: string;
54+
/**
55+
* Indicates whether to enable the Continuous Access Evaluation authentication flow
56+
*/
57+
enableCae?: boolean;
58+
/**
59+
* Allows specifying a tenantId. Useful to handle challenges that provide tenant Id hints.
60+
*/
61+
tenantId?: string;
6062
}
6163

6264
/**

0 commit comments

Comments
 (0)