Public/Get-GCIdentityProviders.ps1

<#
.SYNOPSIS
    Retrieves a list of identity providers.

.DESCRIPTION
    Returns a list of all identity providers configured in Genesys Cloud.
    Uses the GET /api/v2/identityproviders endpoint.

.EXAMPLE
    Get-GCIdentityProviders

.NOTES
    Genesys Cloud API: GET /api/v2/identityproviders
#>

function Get-GCIdentityProviders {
    [CmdletBinding()]
    param()

    $endpoint = "identityproviders"
    return Invoke-GCApiRequest -Endpoint $endpoint -Method GET
}