@pocketsign/klon-sdk
    Preparing search index...

    Interface IDTokenClaims

    KLON ID Token のデコード済みクレーム。

    exchangeCode() / refreshToken() の戻り値 TokenSet.idTokenClaims として取得できる。 フィールド名は JWT クレーム名 (snake_case) をそのまま使用する。

    本型に定義されていないクレームも実行時のオブジェクトには保持されるため、 参照する場合はこの interface を拡張する (例: interface MyClaims extends IDTokenClaims { foo?: string })。

    interface IDTokenClaims {
        acr: string;
        address?: string;
        amr: string[];
        aud: string | string[];
        auth_time: number;
        birthdate?: string;
        email?: string;
        email_verified?: boolean;
        exp: number;
        gender?: string;
        iat: number;
        iss: string;
        jpki_verified: boolean;
        name?: string;
        nonce?: string;
        phone_number?: string;
        phone_number_verified?: boolean;
        sid?: string;
        sub: string;
    }
    Index

    Properties

    acr: string

    Authentication context class reference

    address?: string

    住所 (scope: "address")

    amr: string[]

    Authentication methods used

    aud: string | string[]

    Audience (client ID)

    auth_time: number

    Time of user authentication (Unix epoch seconds)

    birthdate?: string

    生年月日 (scope: "profile")

    email?: string

    メールアドレス (scope: "email")

    email_verified?: boolean

    メールアドレスが検証済みかどうか (scope: "email")

    exp: number

    Expiration time (Unix epoch seconds)

    gender?: string

    性別 (scope: "profile")

    iat: number

    Issued-at time (Unix epoch seconds)

    iss: string

    Issuer identifier (IdP URL)

    jpki_verified: boolean

    Whether the user's account is bound to JPKI

    name?: string

    氏名 (scope: "profile")

    nonce?: string

    Nonce echoed from the authorization request

    phone_number?: string

    電話番号 (scope: "phone")

    phone_number_verified?: boolean

    電話番号が検証済みかどうか (scope: "phone")

    sid?: string

    IdP-RP session identifier

    sub: string

    Subject identifier (pairwise, RP-specific)。 KLON ではサービスごとの subscription_id が入る。