-
Notifications
You must be signed in to change notification settings - Fork 320
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23795 from microsoftgraph/main
Merge to publish.
- Loading branch information
Showing
59 changed files
with
757 additions
and
453 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
90 changes: 90 additions & 0 deletions
90
api-reference/beta/api/federatedtokenvalidationpolicy-get.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
--- | ||
title: "Get federatedTokenValidationPolicy" | ||
description: "Read the properties and relationships of a federatedTokenValidationPolicy object." | ||
author: "rahul-nagraj" | ||
ms.localizationpriority: medium | ||
ms.prod: "identity-and-sign-in" | ||
doc_type: apiPageType | ||
--- | ||
|
||
# Get federatedTokenValidationPolicy | ||
Namespace: microsoft.graph | ||
|
||
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] | ||
|
||
Read the properties and relationships of a [federatedTokenValidationPolicy](../resources/federatedtokenvalidationpolicy.md) object. | ||
|
||
## Permissions | ||
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). | ||
|
||
<!-- { | ||
"blockType": "permissions", | ||
"name": "federatedtokenvalidationpolicy-get-permissions" | ||
} | ||
--> | ||
[!INCLUDE [permissions-table](../includes/permissions/federatedtokenvalidationpolicy-get-permissions.md)] | ||
|
||
## HTTP request | ||
|
||
<!-- { | ||
"blockType": "ignored" | ||
} | ||
--> | ||
``` http | ||
GET /policies/federatedTokenValidationPolicy | ||
``` | ||
|
||
## Optional query parameters | ||
This method does not support OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters). | ||
|
||
## Request headers | ||
|Name|Description| | ||
|:---|:---| | ||
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).| | ||
|
||
## Request body | ||
Don't supply a request body for this method. | ||
|
||
## Response | ||
|
||
If successful, this method returns a `200 OK` response code and a [federatedTokenValidationPolicy](../resources/federatedtokenvalidationpolicy.md) object in the response body. | ||
|
||
## Examples | ||
|
||
### Request | ||
The following example shows a request. | ||
<!-- { | ||
"blockType": "request", | ||
"name": "get_federatedtokenvalidationpolicy" | ||
} | ||
--> | ||
``` http | ||
GET https://graph.microsoft.com/beta/policies/federatedTokenValidationPolicy | ||
``` | ||
|
||
### Response | ||
The following example shows the response | ||
>**Note:** The response object shown here might be shortened for readability. | ||
<!-- { | ||
"blockType": "response", | ||
"truncated": true, | ||
"@odata.type": "microsoft.graph.federatedTokenValidationPolicy" | ||
} | ||
--> | ||
``` http | ||
HTTP/1.1 200 OK | ||
Content-Type: application/json | ||
{ | ||
"value": { | ||
"@odata.type": "#microsoft.graph.federatedTokenValidationPolicy", | ||
"id": "932b8f7f-68c1-6fe5-59ab-56e1ff752f30", | ||
"deletedDateTime": "2023-08-25T07:44:46.2616778Z", | ||
"validatingDomains": { | ||
"@odata.type": "microsoft.graph.validatingDomains", | ||
"rootDomains": "enumerated", | ||
"domainNames": ["contoso.com","fabrikam.com"] | ||
} | ||
} | ||
} | ||
``` |
102 changes: 102 additions & 0 deletions
102
api-reference/beta/api/federatedtokenvalidationpolicy-update.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
--- | ||
title: "Update federatedTokenValidationPolicy" | ||
description: "Update the properties of a federatedTokenValidationPolicy object." | ||
author: "rahul-nagraj" | ||
ms.localizationpriority: medium | ||
ms.prod: "identity-and-sign-in" | ||
doc_type: apiPageType | ||
--- | ||
|
||
# Update federatedTokenValidationPolicy | ||
Namespace: microsoft.graph | ||
|
||
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] | ||
|
||
Update the properties of a [federatedTokenValidationPolicy](../resources/federatedtokenvalidationpolicy.md) object. | ||
|
||
## Permissions | ||
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). | ||
|
||
<!-- { | ||
"blockType": "permissions", | ||
"name": "federatedtokenvalidationpolicy-update-permissions" | ||
} | ||
--> | ||
[!INCLUDE [permissions-table](../includes/permissions/federatedtokenvalidationpolicy-update-permissions.md)] | ||
|
||
## HTTP request | ||
|
||
<!-- { | ||
"blockType": "ignored" | ||
} | ||
--> | ||
``` http | ||
PUT /policies/federatedTokenValidationPolicy | ||
``` | ||
|
||
## Request headers | ||
|Name|Description| | ||
|:---|:---| | ||
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).| | ||
|Content-Type|application/json. Required.| | ||
|
||
## Request body | ||
[!INCLUDE [table-intro](../../includes/update-property-table-intro.md)] | ||
|
||
|Property|Type|Description| | ||
|:---|:---|:---| | ||
|validatingDomains|[validatingDomains](../resources/validatingdomains.md)|Verified domains that Microsoft Entra validates whether the federated account's root domain matches with the mapped Microsoft Entra account's root domain. Required.| | ||
|
||
|
||
|
||
## Response | ||
|
||
If successful, this method returns a `200 OK` response code and an updated [federatedTokenValidationPolicy](../resources/federatedtokenvalidationpolicy.md) object in the response body. | ||
|
||
## Examples | ||
|
||
### Request | ||
The following example shows a request. | ||
<!-- { | ||
"blockType": "request", | ||
"name": "update_federatedtokenvalidationpolicy" | ||
} | ||
--> | ||
``` http | ||
PUT https://graph.microsoft.com/beta/policies/federatedTokenValidationPolicy | ||
Content-Type: application/json | ||
{ | ||
"@odata.type": "#microsoft.graph.federatedTokenValidationPolicy", | ||
"deletedDateTime": "String (timestamp)", | ||
"validatingDomains": { | ||
"@odata.type": "microsoft.graph.validatingDomains", | ||
"rootDomains": "enumerated", | ||
"domainNames": ["contoso.com","fabrikam.com"] | ||
} | ||
} | ||
``` | ||
|
||
### Response | ||
The following example shows the response | ||
>**Note:** The response object shown here might be shortened for readability. | ||
<!-- { | ||
"blockType": "response", | ||
"truncated": true, | ||
"@odata.type": "microsoft.graph.federatedTokenValidationPolicy" | ||
} | ||
--> | ||
``` http | ||
HTTP/1.1 200 OK | ||
Content-Type: application/json | ||
{ | ||
"@odata.type": "#microsoft.graph.federatedTokenValidationPolicy", | ||
"id": "932b8f7f-68c1-6fe5-59ab-56e1ff752f30", | ||
"deletedDateTime": "2023-08-25T07:44:46.2616778Z", | ||
"validatingDomains": { | ||
"@odata.type": "microsoft.graph.validatingDomains" | ||
} | ||
} | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.