Skip to content
  • Auto
  • Light
  • Dark
Get Started

List

List
client.StepUp.Providers.List(ctx) (*ListarrayNextPageTokenstringStepUpProviderListResponse, error)
get/api/v1/step-up/providers

Invokes the c1.api.stepup.v1.StepUpProviderService.List method.

Returns
StepUpProviderListResponsestruct

The ListStepUpProvidersResponse message.

Hide ParametersShow Parameters
Listarray
optional
[]IDstringClientIDstringCreatedAtTimeDisplayNamestringEnabledboolIssuerURLstringLastTestedAtTimeMicrosoftStepUpMicrosoftSettingsOauth2StepUpOauth2SettingsUpdatedAtTimeStepUpProvider

The list field.

Hide ParametersShow Parameters
IDstring
optional

The id field.

ClientIDstring
optional

The clientId field.

CreatedAtTime
optional
formatdate-time
DisplayNamestring
optional

The displayName field.

Enabledbool
optional

The enabled field.

IssuerURLstring
optional

The issuerUrl field.

LastTestedAtTime
optional
formatdate-time
MicrosoftConditionalAccessIDsarrayTenantstringStepUpMicrosoftSettings
optional

StepUpMicrosoftSettings represents a Microsoft Entra Provider using Conditional Access Policies to enforce step-up authentication.

Oauth2AcrValuesarrayStepUpOauth2Settings
optional

StepUpOAuth2Settings repersents an OAuth2 provider that supports RFC 9470 https://www.rfc-editor.org/rfc/rfc9470

Common ACR values for OAuth2 providers include:

  • "urn:okta:loa:1fa:any" (okta)
  • "urn:okta:loa:1fa:pwd" (okta)
  • "urn:okta:loa:2fa:any" (okta)
  • "urn:okta:loa:2fa:any:ifpossible" (okta)
  • "phr" (okta)
  • "phrh" (okta)
UpdatedAtTime
optional
formatdate-time
NextPageTokenstring
optional

The nextPageToken field.

Request example Go
package main

import (
  "context"
  "fmt"

  "github.com/stainless-sdks/-go"
  "github.com/stainless-sdks/-go/option"
)

func main() {
  client := conductoronesdk.NewClient(
    option.WithAPIKey("My API Key"),
  )
  providers, err := client.StepUp.Providers.List(context.TODO())
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", providers.List)
}
200 Example
{
  "list": [
    {
      "clientId": "clientId",
      "displayName": "displayName",
      "enabled": true,
      "issuerUrl": "issuerUrl",
      "microsoft": {
        "conditionalAccessIds": [
          "string"
        ],
        "tenant": "tenant"
      },
      "oauth2": {
        "acrValues": [
          "string"
        ]
      }
    }
  ],
  "nextPageToken": "nextPageToken"
}