add method and model docs for powershell and python v2025

This commit is contained in:
darrell-thobe-sp
2025-04-01 09:23:12 -04:00
parent c12ffb7efc
commit 5d8f458a33
2414 changed files with 191212 additions and 0 deletions

View File

@@ -0,0 +1,63 @@
---
id: v2025-create-o-auth-client-request
title: CreateOAuthClientRequest
pagination_label: CreateOAuthClientRequest
sidebar_label: CreateOAuthClientRequest
sidebar_class_name: powershellsdk
keywords: ['powershell', 'PowerShell', 'sdk', 'CreateOAuthClientRequest', 'V2025CreateOAuthClientRequest']
slug: /tools/sdk/powershell/v2025/models/create-o-auth-client-request
tags: ['SDK', 'Software Development Kit', 'CreateOAuthClientRequest', 'V2025CreateOAuthClientRequest']
---
# CreateOAuthClientRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**BusinessName** | **String** | The name of the business the API Client should belong to | [optional]
**HomepageUrl** | **String** | The homepage URL associated with the owner of the API Client | [optional]
**Name** | **String** | A human-readable name for the API Client | [required]
**Description** | **String** | A description of the API Client | [required]
**AccessTokenValiditySeconds** | **Int32** | The number of seconds an access token generated for this API Client is valid for | [required]
**RefreshTokenValiditySeconds** | **Int32** | The number of seconds a refresh token generated for this API Client is valid for | [optional]
**RedirectUris** | **[]String** | A list of the approved redirect URIs. Provide one or more URIs when assigning the AUTHORIZATION_CODE grant type to a new OAuth Client. | [optional]
**GrantTypes** | [**[]GrantType**](grant-type) | A list of OAuth 2.0 grant types this API Client can be used with | [required]
**AccessType** | [**AccessType**](access-type) | | [required]
**Type** | [**ClientType**](client-type) | | [optional]
**Internal** | **Boolean** | An indicator of whether the API Client can be used for requests internal within the product. | [optional]
**Enabled** | **Boolean** | An indicator of whether the API Client is enabled for use | [required]
**StrongAuthSupported** | **Boolean** | An indicator of whether the API Client supports strong authentication | [optional]
**ClaimsSupported** | **Boolean** | An indicator of whether the API Client supports the serialization of SAML claims when used with the authorization_code flow | [optional]
**Scope** | **[]String** | Scopes of the API Client. If no scope is specified, the client will be created with the default scope ""sp:scopes:all"". This means the API Client will have all the rights of the owner who created it. | [optional]
## Examples
- Prepare the resource
```powershell
$CreateOAuthClientRequest = Initialize-PSSailpoint.V2025CreateOAuthClientRequest -BusinessName Acme-Solar `
-HomepageUrl http://localhost:12345 `
-Name Demo API Client `
-Description An API client used for the authorization_code, refresh_token, and client_credentials flows `
-AccessTokenValiditySeconds 750 `
-RefreshTokenValiditySeconds 86400 `
-RedirectUris [http://localhost:12345] `
-GrantTypes [AUTHORIZATION_CODE, CLIENT_CREDENTIALS, REFRESH_TOKEN] `
-AccessType null `
-Type null `
-Internal false `
-Enabled true `
-StrongAuthSupported false `
-ClaimsSupported false `
-Scope [demo:api-client-scope:first, demo:api-client-scope:second]
```
- Convert the resource to JSON
```powershell
$CreateOAuthClientRequest | ConvertTo-JSON
```
[[Back to top]](#)