の検索結果 :
×このドキュメントでは、miniOrange REST API 認証モジュールで提供される各認証方法を構成して使用する手順を説明します。 このモジュールは、次の両方をサポートします。 REST など JSON API モジュール。
次のリンク「API 認証ガイド」から、すべての認証方法の詳細なセットアップ ガイドを参照できます。
弊社のモジュールでサポートしたい他のカスタム API がある場合、または何らかのサポートが必要な場合は、お気軽にお問い合わせください。 drupalsupport@xecurify.com 完全な機能を確認するにはここをクリックしてください リスト.
Request: GET <your_drupal_base_url>/node/{node}?_format=json
Header:
Authorization: Basic base64encoded <username:api_key>
Accept: application/json
Content-Type: application/json
Sample curl Request Format-
--location --request GET '<your_drupal_base_url>/node/1?_format=json' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic base64encoded <username:API key’> \
Request: POST <your_drupal_base_url>/entity/user?_format=json
Header:
Authorization: Basic base64encoded <username:api_key>
Accept: application/json
Content-Type: application/json
Body:
{
"name": [
{"value": "username"}
],
"mail": [
{"value": "email"}
],
"pass": [
{"value": "password"}
],
"status":[
{"value": "1"}
]
}
Sample curl Request Format-
--location --request POST '<your_drupal_base_url>/entity/user?_format=json' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic base64encoded’ \
--data-raw '
{
"name": [
{"value": "Username"}
],
"mail": [
{"value": "email"}
],
"pass":[
{"value": "Password"}
],
"status":[
{"value": "1"
}
]
Request: POST <your_drupal_base_url>/rest_api/id_token
Header:
Authorization: Basic base64encoded <username:password;>
Accept: application/json
Sample curl Request Format-
--location --request POST "<your_drupal_base_url>/rest_api/id_token' \"
--header 'Accept: application/json'\
--header 'Content-Type: application/json' \
--header 'Authorization: Basic base64encoded’ \'
Request: POST <drupal_base_url>/rest_api/access_token
Body:
grant_type = password
username = drupal_username
password = drupal_password
client_id = client_id
Sample curl Request Format-
--location --request POST '<your_drupal_base_url>/rest_api/access_token' \
--header 'Accept: application/json'\
--header 'Content-Type: pplication/x-www-form-urlencoded' \
--data-urlencode 'grant_type=password' \
--data-urlencode 'client_id= ' \
--data-urlencode 'username='\
--data-urlencode 'password='
Request: POST <drupal_base_url>/rest_api/access_token
Body:
grant_type = client_credentials
client_id = client_id
client_secret = client_secret
Username = drupal_username
Sample curl Request Format-
--location --request POST '<your_drupal_base_url>/rest_api/access_token' \
--header 'Accept: application/json'\
--header 'Content-Type: pplication/x-www-form-urlencoded' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'client_id= <Client_ID>'\
--data-urlencode 'username=<drupal_username>' \
--data-urlencode 'client_secret=<Client_secret>'
Request: POST <your_drupal_base_url>/entity/user?_format=json
Header:
Token: <Token_receievd_from_external_identity_provider>
Accept: application/jsonContent-Type: application/json
Body:
{
"name": [
{"value": "username"}
],
"mail": [
{"value": "email"}
],
"pass": [
{"value": "password"}
],
"status": [
{"value": "1"}
]
}
Sample curl Request Format-
--location --request POST '<your_drupal_base_url>/entity/user?_format=json' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Token: ' \
--data-raw '
{
"name": [
{"value": "Username"}
],
"mail": [
{"value": "email"}
],
"pass": [
{"value": "Password"}
],
"status": [
{"value": "1"}
]
}
問題が発生した場合、またはご質問がある場合は、お気軽にお問い合わせください。 drupalsupport@xecurify.com。 モジュールにいくつかの追加機能を含めたい場合は、当社までご連絡ください。カスタムメイドで対応させていただきます。 また、ご希望に応じて、Drupal REST API 認証モジュールの構成を支援するオンライン ミーティングをスケジュールすることもできます。
助けが必要? 私たちはここにいます!
お問い合わせありがとうございます。
24 時間以内に当社からのご連絡がない場合は、お気軽にフォローアップ メールを送信してください。 info@xecurify.com
リクエストが失敗しました。
メールを送信してみてください info@xecurify.com