type: object
description: |
    Single-use login token minted by `GET /admin/account/{bigscreenAccountId}/token`.
    Wraps `AuthSchemas.SingleUseLoginToken` plus a `message` field. Operators
    hand this token to the account holder to let them sign in without a
    password.
required: [message, singleUseLoginToken]
properties:
    message:
        type: string
        example: OK
    singleUseLoginToken:
        type: object
        required: [bigscreenAccountId, redirectUrl]
        properties:
            bigscreenAccountId: { type: string }
            ip:
                type: string
                description: IP captured at token creation time.
            verifyEmailAction:
                type: string
                description: "`AuthSchemas.VerifyEmailAction` — e.g. `VerifyEmailOnConfirm`, `DoNothing`."
            redirectUrl:
                type: string
                description: Path the user is redirected to after the token is consumed.
example:
    message: "OK"
    singleUseLoginToken:
        bigscreenAccountId: "acct_01HXJ4Q12345"
        ip: ""
        verifyEmailAction: "VerifyEmailOnConfirm"
        redirectUrl: "/accounts"
