Freigeben über


Geo Catalog Auth Config Operations - Get

Authentifizierungskonfiguration abrufen
Rufen Sie die Informationen zur App-ID und zur Mandanten-ID ab, um eine MSAL-Anforderung für diese GeoCatalog-Instanz zu stellen.

GET https://contoso-catalog.gwhqfdeddydpareu.uksouth.geocatalog.spatio.azure.com/geocatalog/auth?api-version=2025-04-30-preview

URI-Parameter

Name In Erforderlich Typ Beschreibung
api-version
query True

string

minLength: 1

Die API-Version, die für diesen Vorgang verwendet werden soll.

Antworten

Name Typ Beschreibung
200 OK

AuthConfig

Die Anforderung ist erfolgreich.

Other Status Codes

Azure.Core.Foundations.ErrorResponse

Unerwartete Fehlerantwort.

Header

x-ms-error-code: string

Sicherheit

OAuth2Auth

Typ: oauth2
Ablauf: implicit
Autorisierungs-URL: https://login.microsoftonline.com/common/oauth2/authorize

Bereiche

Name Beschreibung
https://geocatalog.spatio.azure.com/.default

Beispiele

GeoCatalogAuthConfigOperations_Get

Beispielanforderung

GET https://contoso-catalog.gwhqfdeddydpareu.uksouth.geocatalog.spatio.azure.com/geocatalog/auth?api-version=2025-04-30-preview

Beispiel für eine Antwort

{
  "authn_app_id": "6388acc4-795e-43a9-a320-33075c1eb83b",
  "tenant_id": "72f988bf-86f1-41af-91ab-2d7cd011db47",
  "instance": "https://login.microsoftonline.com/",
  "redirect_uri": "https://login.uksouth.geocatalog.spatio.azure.com/"
}

Definitionen

Name Beschreibung
AuthConfig

MSAL-Konfiguration (Microsoft Authentication Library) für die Front-End-Authentifizierung.

Azure.Core.Foundations.Error

Das Fehlerobjekt.

Azure.Core.Foundations.ErrorResponse

Eine Antwort, die Fehlerdetails enthält.

Azure.Core.Foundations.InnerError

Ein Objekt, das spezifischere Informationen zum Fehler enthält. Gemäß den Microsoft One-API-Richtlinien – https://github.com/microsoft/api-guidelines/blob/vNext/azure/Guidelines.md#handling-errors.

AuthConfig

MSAL-Konfiguration (Microsoft Authentication Library) für die Front-End-Authentifizierung.

Name Typ Beschreibung
authn_app_id

string

Anwendungs-ID für die Authentifizierung.

instance

string (uri)

URL der Azure AD-Instanz.

redirect_uri

string (uri)

Umleitungs-URI nach der Authentifizierung.

tenant_id

string

Azure Active Directory-Mandanten-ID.

Azure.Core.Foundations.Error

Das Fehlerobjekt.

Name Typ Beschreibung
code

string

Eine serverdefinierte Gruppe von Fehlercodes.

details

Azure.Core.Foundations.Error[]

Ein Array von Details zu bestimmten Fehlern, die zu diesem gemeldeten Fehler geführt haben.

innererror

Azure.Core.Foundations.InnerError

Ein Objekt, das spezifischere Informationen enthält als das aktuelle Objekt über den Fehler.

message

string

Eine normal lesbare Darstellung des Fehlers.

target

string

Das Ziel des Fehlers.

Azure.Core.Foundations.ErrorResponse

Eine Antwort, die Fehlerdetails enthält.

Name Typ Beschreibung
error

Azure.Core.Foundations.Error

Das Fehlerobjekt.

Azure.Core.Foundations.InnerError

Ein Objekt, das spezifischere Informationen zum Fehler enthält. Gemäß den Microsoft One-API-Richtlinien – https://github.com/microsoft/api-guidelines/blob/vNext/azure/Guidelines.md#handling-errors.

Name Typ Beschreibung
code

string

Eine serverdefinierte Gruppe von Fehlercodes.

innererror

Azure.Core.Foundations.InnerError

Innerer Fehler.