メインコンテンツへスキップ
GET
https://{tenantDomain}/api/v2
/
users
/
{id}
/
authentication-methods
/
{authentication_method_id}
Go
package example

import (
    context "context"

    client "github.com/auth0/go-auth0/management/management/client"
    option "github.com/auth0/go-auth0/management/management/option"
)

func do() {
    client := client.NewClient(
        option.WithToken(
            "<token>",
        ),
    )
    client.Users.AuthenticationMethods.Get(
        context.TODO(),
        "id",
        "authentication_method_id",
    )
}
{
  "created_at": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "aaguid": "<string>",
  "authentication_methods": [
    {
      "id": "<string>"
    }
  ],
  "confirmed": true,
  "credential_backed_up": true,
  "credential_device_type": "<string>",
  "email": "<string>",
  "enrolled_at": "2023-11-07T05:31:56Z",
  "identity_user_id": "<string>",
  "key_id": "<string>",
  "last_auth_at": "2023-11-07T05:31:56Z",
  "link_id": "<string>",
  "name": "<string>",
  "phone_number": "<string>",
  "public_key": "<string>",
  "relying_party_identifier": "<string>",
  "transports": [
    "<string>"
  ],
  "user_agent": "<string>",
  "user_handle": "<string>"
}

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

パスパラメータ

id
string
必須

対象ユーザーのID。

authentication_method_id
string
必須

対象の認証方法のID。

レスポンス

認証方法を取得しました。

created_at
string<date-time>
必須

認証器の作成日

id
string
必須

認証方法の ID(自動生成)

type
enum<string>
必須
利用可能なオプション:
recovery-code,
totp,
push,
phone,
email,
email-verification,
webauthn-roaming,
webauthn-platform,
guardian,
passkey,
password
aaguid
string

パスキー認証方法にのみ適用されます。Authenticator Attestation Globally Unique Identifier です。

authentication_methods
object[]
confirmed
boolean

認証方法のステータス

credential_backed_up
boolean

パスキーにのみ適用されます。認証情報がバックアップされたかどうかです。

credential_device_type
string

パスキーにのみ適用されます。バックアップ可否で定義される、認証情報が保存されているデバイスの種類です。"single_device" 認証情報はバックアップや別のデバイスへの同期ができません。"multi_device" 認証情報は、エンドユーザーが有効にしている場合にバックアップできます。

email
string

メールアドレスおよびメールアドレス確認の認証方法にのみ適用されます。確認メッセージの送信に使用するメールアドレスです。

enrolled_at
string<date-time>

登録日

identity_user_id
string

パスキーにのみ適用されます。認証方法にリンクされているユーザー アイデンティティの ID です。

key_id
string

WebAuthn の認証方法にのみ適用されます。生成された認証情報の ID です。

last_auth_at
string<date-time>

最終認証日時

リンクされた認証方法の ID。リンクされた認証方法はまとめて削除されます。

name
string

認証方法を識別するための、人が読みやすいラベル。

Maximum string length: 20
phone_number
string

電話番号の認証方法にのみ適用されます。テキストメッセージおよび音声通話で確認コードを送信する宛先の電話番号です。

preferred_authentication_method
enum<string>

電話の認証方法にのみ適用されます。優先する通信方法です。

利用可能なオプション:
voice,
sms
public_key
string

WebAuthn の認証方法にのみ適用されます。公開鍵です。

relying_party_identifier
string

WebAuthn/パスキーの認証方法にのみ適用されます。認証情報の relying party 識別子です。

transports
string[]

パスキーにのみ適用されます。クライアントが認証要素と通信するために使用するトランスポートです。

user_agent
string

パスキーにのみ適用されます。パスキーの作成に使用されたブラウザーのユーザーエージェントです。

user_handle
string

パスキーにのみ適用されます。ユーザー アイデンティティのユーザー ハンドルです。