{
    "content": [
        {
            "type": "text",
            "text": "# pam_xauth_data (man)\n\n## NAME\n\npamxauthdata - structure containing X authentication data\n\n## SYNOPSIS\n\n#include <security/pamappl.h>\nstruct pamxauthdata {\nint namelen;\nchar *name;\nint datalen;\nchar *data;\n};\n\n## DESCRIPTION\n\nThe pamxauthdata structure contains X authentication data used to make a connection to an X\ndisplay. Using this mechanism, an application can communicate X authentication data to PAM\nservice modules. This allows modules to make a connection to the user's X display in order to\nlabel the user's session on login, display visual feedback or for other purposes.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **SEE ALSO**\n- **STANDARDS**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "pam_xauth_data",
        "section": "",
        "mode": "man",
        "summary": "pamxauthdata - structure containing X authentication data",
        "synopsis": "#include <security/pamappl.h>\nstruct pamxauthdata {\nint namelen;\nchar *name;\nint datalen;\nchar *data;\n};",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "pamstart",
                "section": "3",
                "url": "https://www.chedong.com/phpMan.php/man/pamstart/3/json"
            },
            {
                "name": "pamgetitem",
                "section": "3",
                "url": "https://www.chedong.com/phpMan.php/man/pamgetitem/3/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 17,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "STANDARDS",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "pamxauthdata - structure containing X authentication data\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "#include <security/pamappl.h>\n\nstruct pamxauthdata {\nint namelen;\nchar *name;\nint datalen;\nchar *data;\n};\n\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The pamxauthdata structure contains X authentication data used to make a connection to an X\ndisplay. Using this mechanism, an application can communicate X authentication data to PAM\nservice modules. This allows modules to make a connection to the user's X display in order to\nlabel the user's session on login, display visual feedback or for other purposes.\n\nThe name field contains the name of the authentication method, such as \"MIT-MAGIC-COOKIE-1\".\nThe namelen field contains the length of this string, not including the trailing NUL\ncharacter.\n\nThe data field contains the authentication method-specific data corresponding to the\nspecified name. The datalen field contains its length in bytes.\n\nThe X authentication data can be changed with the PAMXAUTHDATA item. It can be queried and\nset with pamgetitem(3) and pamsetitem (3) respectively. The value used to set it should\nbe a pointer to a pamxauthdata structure. An internal copy of both the structure itself and\nits fields is made by PAM when setting the item.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "pamstart(3), pamgetitem(3),\n",
                "subsections": []
            },
            "STANDARDS": {
                "content": "The pamxauthdata structure and PAMXAUTHDATA item are Linux-PAM extensions.\n\n\n\nLinux-PAM Manual                             06/08/2020                            PAMXAUTHDATA(3)",
                "subsections": []
            }
        }
    }
}