WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.
nsIJVMAuthTools
| IID: | 82274a32-a196-42ee-8e3b-fcb73e339518 |
| Inherits From: | nsISupports |
Methods
nsIAuthenticationInfo GetAuthenticationInfo ( char* protocol , char* host , PRInt32 port , char* scheme , char* realm )
void SetAuthenticationInfo ( char* protocol , char* host , PRInt32 port , char* scheme , char* realm , char* username , char* password )
nsIAuthenticationInfo GetAuthenticationInfo ( char* protocol , char* host , PRInt32 port , char* scheme , char* realm )
Export AuthenticationInfo interface to JPI.
- Arguments:
- protocol: the protocol that support (http/https)
- host: host name
- port: port number
- scheme: scheme
- realm: realm
- Returns:
- NS_OK if success, other if fail
void SetAuthenticationInfo ( char* protocol , char* host , PRInt32 port , char* scheme , char* realm , char* username , char* password )
Import username/password pair from JPI.
- Arguments:
- protocol: the protocol that support (http/https)
- host: host name
- port: port number
- scheme: scheme
- realm: realm
- username: user name
- password: password
- Returns:
- NS_OK if success, other if fail
Reference documentation is generated from Mozilla's source.
