Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add IShSession.OpenApiAM10Service proxy similar to IShSession.OpenApiISH30Service proxy #180

@ddemeyer

Description

@ddemeyer

Tridion Docs 15.0 comes with Access Management, a federation gateway. This component centralizes Identity Providers, Service Accounts, etc

As a building block the $IShSession object could hold a pre-authenticated proxy named OpenApiAM10Client like it has $IShSession.OpenApiISH30Client to allow future experimentation and validation.

  • Duplicate the existing Trisoft.ISHRemote.OpenApiISH30 standard library project, however this time named Trisoft.ISHRemote.OpenApiAM10 using the OpenApi specification which you can find on https://ish.example.com/ISHAM/api/api-docs/v1/openapi.json
  • Make sure the urls in the openapi.json are anonymized, so pointing to ish.example.com
  • Extend IShSession class with OpenApiAM10Client, see example of OpenApiISH30Client including basic tests
  • Make sure that both proxies are initialized for both -Protocol, so OpenApiWithOpenIdConnect and WcfSoapWithOpenIdConnect and for parameter groups ClientIdClientSecret, PSCredential and Interactive. Remember that the parameter -Protocol drives the chosen implementation preference per cmdlet, not if the proxies are initialized.
  • Potentially add tests in TestPrerequisite.Tests.ps1 and/or NewIshSession.Tests.ps1 regarding expired Client/Secret as the proxy allows to tweak them now.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions