Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 125813 of NPN_GetAuthenticationInfo

  • Revision slug: NPN_GetAuthenticationInfo
  • Revision title: NPN_GetAuthenticationInfo
  • Revision id: 125813
  • Created:
  • Creator: johshoff
  • Is current revision? No
  • Comment Formatting; no wording changes

Revision Content

{{ Np-browser-api() }}

Summary

...

Syntax

#include <npapi.h>

NPError NPN_GetAuthenticationInfo(NPP instance
const char *protocol
const char *host
int32_t port
const char *scheme
const char *realm
char **username
uint32_t *ulen
char **password
uint32_t *plen);

Parameters

This function has the following parameters:

instance
Pointer to the current plug-in instance.
protocol
...
host
...
port
...
scheme
...
realm
...
username
...
ulen
...
password
...
plen
...

Returns

  • If successful, the function returns NPERR_NO_ERROR.
  • If unsuccessful, the function returns an error code. For possible values, see Error Codes.

Description

...

See also

NPN_SetValueForURL, NPN_GetValueForURL

Revision Source

<p>{{ Np-browser-api() }}</p>
<h3 name="Summary">Summary</h3>
<p>...<br>
</p>
<h3 name="Syntax">Syntax</h3>
<pre>#include &lt;npapi.h&gt;

NPError NPN_GetAuthenticationInfo(NPP instance<br>                                  const char *protocol<br>                                  const char *host<br>                                  int32_t port<br>                                  const char *scheme<br>                                  const char *realm<br>                                  char **username<br>                                  uint32_t *ulen<br>                                  char **password<br>                                  uint32_t *plen);<br>
</pre>
<h3 name="Parameters">Parameters</h3>
<p>This function has the following parameters:</p>
<dl> <dt>instance</dt> <dd>Pointer to the current plug-in instance.</dd>
</dl>
<dl> <dt>protocol</dt> <dd>...<br> </dd>
</dl>
<dl> <dt>host</dt> <dd>...<br> </dd>
</dl>
<dl> <dt>port</dt> <dd>...<br> </dd>
</dl>
<dl> <dt>scheme</dt> <dd>...<br> </dd>
</dl>
<dl> <dt>realm</dt> <dd>...<br> </dd>
</dl>
<dl> <dt>username</dt> <dd>...</dd>
</dl>
<dl> <dt>ulen</dt> <dd>...</dd>
</dl>
<dl> <dt>password</dt> <dd>...</dd>
</dl>
<dl> <dt>plen</dt> <dd>...</dd>
</dl>
<h3 name="Returns">Returns</h3>
<ul> <li>If successful, the function returns NPERR_NO_ERROR.</li> <li>If unsuccessful, the function returns an error code. For possible values, see <a href="/en/NPAPI/Constants#Error_Codes" title="en/NPAPI/Constants#Error_Codes">Error Codes</a>.</li>
</ul>
<h3 name="Description">Description</h3>
<p>...</p>
<p>See also</p>
<p><a href="/en/NPN_SetValueForURL" title="en/NPN_SetValueForURL">NPN_SetValueForURL</a>, <a href="/en/NPN_GetValueForURL" title="en/NPN_GetValueForURL">NPN_GetValueForURL</a></p>
Revert to this revision