Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OKTA-821864 authorizationserverpolicy regen #756

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ docs/AuthorizationServerPolicyRuleActions.md
docs/AuthorizationServerPolicyRuleConditions.md
docs/AuthorizationServerPolicyRuleGroupCondition.md
docs/AuthorizationServerPolicyRuleUserCondition.md
docs/AuthorizationServerPolicyStatus.md
docs/AuthorizationServerRulesApi.md
docs/AuthorizationServerScopesApi.md
docs/AutoAssignAdminAppSetting.md
Expand Down Expand Up @@ -1520,6 +1521,7 @@ src/Okta.Sdk/Model/AuthorizationServerPolicyRuleActions.cs
src/Okta.Sdk/Model/AuthorizationServerPolicyRuleConditions.cs
src/Okta.Sdk/Model/AuthorizationServerPolicyRuleGroupCondition.cs
src/Okta.Sdk/Model/AuthorizationServerPolicyRuleUserCondition.cs
src/Okta.Sdk/Model/AuthorizationServerPolicyStatus.cs
src/Okta.Sdk/Model/AutoAssignAdminAppSetting.cs
src/Okta.Sdk/Model/AutoLoginApplication.cs
src/Okta.Sdk/Model/AutoLoginApplicationSettings.cs
Expand Down
3 changes: 2 additions & 1 deletion API_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Allows customers to easily access the Okta Management APIs
This C# SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 2024.07.0
- SDK version: 9.0.0
- SDK version: 9.0.1
- Build package: org.openapitools.codegen.languages.CSharpNetCoreClientCodegen
For more information, please visit [https://developer.okta.com/](https://developer.okta.com/)

Expand Down Expand Up @@ -797,6 +797,7 @@ Class | Method | HTTP request | Description
- [Model.AuthorizationServerPolicyRuleConditions](docs/AuthorizationServerPolicyRuleConditions.md)
- [Model.AuthorizationServerPolicyRuleGroupCondition](docs/AuthorizationServerPolicyRuleGroupCondition.md)
- [Model.AuthorizationServerPolicyRuleUserCondition](docs/AuthorizationServerPolicyRuleUserCondition.md)
- [Model.AuthorizationServerPolicyStatus](docs/AuthorizationServerPolicyStatus.md)
- [Model.AutoAssignAdminAppSetting](docs/AutoAssignAdminAppSetting.md)
- [Model.AutoLoginApplication](docs/AutoLoginApplication.md)
- [Model.AutoLoginApplicationAllOf](docs/AutoLoginApplicationAllOf.md)
Expand Down
10 changes: 10 additions & 0 deletions docs/AuthorizationServerPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,17 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **string** | ID of the Policy | [optional]
**Type** | **string** | Indicates that the Policy is an authorization server Policy | [optional]
**Name** | **string** | Name of the Policy | [optional]
**Conditions** | [**AuthorizationServerPolicyConditions**](AuthorizationServerPolicyConditions.md) | | [optional]
**Description** | **string** | Description of the Policy | [optional]
**Priority** | **int** | Specifies the order in which this Policy is evaluated in relation to the other Policies in a custom authorization server | [optional]
**Status** | **AuthorizationServerPolicyStatus** | | [optional]
**System** | **bool** | Specifies whether Okta created this Policy | [optional]
**Created** | **DateTimeOffset** | Timestamp when the Policy was created | [optional] [readonly]
**LastUpdated** | **DateTimeOffset** | Timestamp when the Policy was last updated | [optional] [readonly]
**Links** | [**LinksSelfAndLifecycle**](LinksSelfAndLifecycle.md) | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

10 changes: 10 additions & 0 deletions docs/AuthorizationServerPolicyStatus.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Okta.Sdk.Model.AuthorizationServerPolicyStatus
The allowed statuses for the AurhorizationServerPolicy

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

2 changes: 1 addition & 1 deletion openapi3/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"packageName" : "Okta.Sdk",
"outputDir" : "../",
"inputSpec" : "./management.yaml",
"packageVersion" : "9.0.0",
"packageVersion" : "9.0.1",
"packageDescription" : "Official .NET SDK for the Okta API",
"packageTitle" : "Official .NET SDK for the Okta API",
"packageCompany" : "Okta, Inc.",
Expand Down
47 changes: 47 additions & 0 deletions openapi3/management.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32849,6 +32849,12 @@ components:
- none
- recovery
- sso
AuthorizationServerPolicyStatus:
description: The allowed statuses for the AurhorizationServerPolicy
type: string
enum:
- ACTIVE
- INACTIVE
ApiToken:
title: API Token
description: An API token for an Okta User. This token is NOT scoped any further and can be used for any API the user has permissions to call.
Expand Down Expand Up @@ -34301,8 +34307,49 @@ components:
allOf:
- type: object
properties:
id:
type: string
description: ID of the Policy
type:
type: string
description: Indicates that the Policy is an authorization server Policy
enum:
- OAUTH_AUTHORIZATION_POLICY
name:
type: string
description: Name of the Policy
conditions:
$ref: '#/components/schemas/AuthorizationServerPolicyConditions'
description:
type: string
description: Description of the Policy
priority:
type: integer
description: Specifies the order in which this Policy is evaluated in relation to the other Policies in a custom authorization server
status:
$ref: '#/components/schemas/AuthorizationServerPolicyStatus'
system:
type: boolean
description: Specifies whether Okta created this Policy
created:
type: string
format: date-time
readOnly: true
description: Timestamp when the Policy was created
lastUpdated:
type: string
format: date-time
readOnly: true
description: Timestamp when the Policy was last updated
_links:
allOf:
- $ref: '#/components/schemas/LinksSelfAndLifecycle'
- type: object
properties:
rules:
allOf:
- description: Link to the authorization server policy's rules
- $ref: '#/components/schemas/HrefObject'
AuthorizationServerPolicyConditions:
type: object
properties:
Expand Down
5 changes: 3 additions & 2 deletions openapi3/templates/netcore_project.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="6.0.1" />
<PackageReference Include="Okta.Sdk.Abstractions" Version="4.0.4" />
<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="8.0.2" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.0.2" />
<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="8.2.0" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.2.0" />
<PackageReference Include="System.Text.Json" Version="8.0.5" />
{{/useGenericHost}}
{{#useRestSharp}}
<PackageReference Include="RestSharp" Version="112.0.0" />
Expand Down
2 changes: 1 addition & 1 deletion src/Okta.Sdk.UnitTest/Okta.Sdk.UnitTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="Moq" Version="4.20.69" />
<PackageReference Include="RichardSzalay.MockHttp" Version="7.0.0" />
<PackageReference Include="System.Text.Json" Version="8.0.4" />
<PackageReference Include="System.Text.Json" Version="8.0.5" />
<PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" />
<PackageReference Include="WireMock.Net" Version="1.5.62" />
<PackageReference Include="xunit" Version="2.4.0" />
Expand Down
4 changes: 2 additions & 2 deletions src/Okta.Sdk/Client/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class Configuration : IReadableConfiguration
/// Version of the package.
/// </summary>
/// <value>Version of the package.</value>
public const string Version = "9.0.0";
public const string Version = "9.0.1";

/// <summary>
/// Identifier for ISO 8601 DateTime Format
Expand Down Expand Up @@ -766,7 +766,7 @@ public static string ToDebugReport()
report += " OS: " + System.Environment.OSVersion + "\n";
report += " .NET Framework Version: " + System.Environment.Version + "\n";
report += " Version of the API: 2024.07.0\n";
report += " SDK Package Version: 9.0.0\n";
report += " SDK Package Version: 9.0.1\n";

return report;
}
Expand Down
Loading