認証 Url

サーバーを支援します。 トークンの認証 リソースにアクセスするためのユーザー Id。

可能な場所

  • 熱 意/ヘルプ/ zest -仕様ファイル/認証スキーマ/oauth2/">OAuth2 - 熱 意/ヘルプ/ zest -仕様ファイル/認証スキーマ/トークン/">トークン

子要素

  • 熱 意/ヘルプ/ zest -仕様ファイル/説明/">説明 - 熱意 /ヘルプ/ -仕 zest 様ファイル/url/操作/導入/">操作 必須

属性


お名前 タイプ 説明
パス

必須

文字列 Urlパス

サンプル

OAuth2

旅行リソースでは、 ** 熱 意/ヘルプ/ zest -仕様ファイル/認証スキーマ/oauth2/"> ** 認証のため。 以下は、この場合の認証urlのサンプルです。

copy

<authentication-url path="https://accounts.travel_bureau.com/oauth/user/info">
 <operation method="get" name="Check Access Token" category="action">
 <response status="200">
 <content>
 <encode type="application/json" />
 <structure name="user info">
 <property name="First_Name" type="string" />
 <property name="Last_Name" type="string" />
 <property name="Display_Name" type="string" />
 <property name="ZUID" type="long" />
 <property name="Email" type="string" />
 </structure>
 </content>
 </response>
 </operation>
 </authentication-url>

トークン

私たちが使用することを考慮してください ** 熱 意/ヘルプ/ zest -仕様ファイル/認証スキーマ/トークン/"> ** トラベラー リソースでの認証。 以下は認証Urlのサンプルです。

copy

<authentication-url path="https://authorization-server.com/token-info">
 <description>The token introspection endpoint will return information about a token</description>
 <operation method="post" name="IntrospectToken" category="action">
 <request-body>
 <content>
 <encode type="text/plain" />
 <structure name="Token">
 <property name="token" type="string"/>
 </structure>
 </content>
 </request-body>
 <response status="200">
 <content>
 <encode type="application/json" />
 <structure-group type="one-of">
 <structure name="TokenInfo">
 <property name="active" type="boolean" values="true"/>
 <property name="scopes" type="string"/>
 <property name="client_id" type="string"/>
 <property name="expires_at" type="datetime"/>
 </structure>
 <structure name="ExpiredTokenResponse">
 <property name="active" type="boolean" values="false"/>
 </structure>
 </structure-group>
 </content>
 </response>
 <response status="401">
 <content>
 <encode type="application/json" />
 <structure name="AuthenticationErrorResponse">
 <property name="code" type="string" values="INVALID_CLIENT"/>
 <property name="message" type="string"/>
 <property name="status" type="string" values="error"/>
 </structure>
 </content>
 </response>
 </operation>
 </authentication-url>

Last Updated 2026-02-06 15:55:45 +0530 IST