メインコンテンツへスキップ
POST
https://{host}/me/v1
/
authentication-methods
curl --request POST \ --url https://{host}/me/v1/authentication-methods \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "email": "user@example.com", "type": "email" } '
{ "auth_session": "Fe26.2**05c400ed...", "id": "email|dev_XXXXXXXXXXXXXXXX" }

承認

Authorization
string
header
必須

Bearer トークンと DPoP トークンは、API の設定に応じてサポートされます

ボディ

application/json

認証方法を作成するためのリクエスト本文

type
string
デフォルト:passkey
必須

認証方法のタイプ(認証要素)

Allowed value: "passkey"
connection
string

データベース接続の名前

Required string length: 1 - 128
Pattern: ^[a-zA-Z0-9-]+$
identity_user_id
string

IDプロバイダーのユーザーID

Required string length: 1 - 255
Pattern: ^\S+$

レスポンス

登録を開始しました

auth_session
string
必須

登録の一意のセッション識別子。

authn_params_public_key
object
必須