LibreOffice
LibreOffice 6.2 SDK API Reference
Public Member Functions | List of all members
XPasswordContainer Interface Referencepublished

Allows to save passwords with URL-pattern, to use them later. More...

import"XPasswordContainer.idl";

Inheritance diagram for XPasswordContainer:
XInterface XPasswordContainer2 PasswordContainer

Public Member Functions

void add ([in] string Url, [in] string UserName, [in] sequence< string > Passwords, [in] XInteractionHandler Handler)
 Save passwords in to the container. More...
 
void addPersistent ([in] string Url, [in] string UserName, [in] sequence< string > Passwords, [in] XInteractionHandler Handler)
 Save passwords in to the container, and store them in the file. More...
 
UrlRecord find ([in] string Url, [in] XInteractionHandler Handler)
 Find users with passwords for the url pattern. More...
 
UrlRecord findForName ([in] string Url, [in] string UserName, [in] XInteractionHandler Handler)
 Find passwords for the url pattern and username. More...
 
void remove ([in] string Url, [in] string UserName)
 Remove passwords for the url pattern and username. More...
 
void removePersistent ([in] string Url, [in] string UserName)
 Remove passwords for the url pattern and username from the file. More...
 
void removeAllPersistent ()
 Clean the file. More...
 
sequence< UrlRecordgetAllPersistent ([in] XInteractionHandler Handler)
 Get all records from the file. More...
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 

Detailed Description

Allows to save passwords with URL-pattern, to use them later.

Member Function Documentation

void add ( [in] string  Url,
[in] string  UserName,
[in] sequence< string >  Passwords,
[in] XInteractionHandler  Handler 
)

Save passwords in to the container.

Parameters
UrlURL-pattern, that will be used later to retrieve passwords.
UserNameThe username.
PasswordsThe password-list.
HandlerThe handler to get super password to en/decrypt passwords
void addPersistent ( [in] string  Url,
[in] string  UserName,
[in] sequence< string >  Passwords,
[in] XInteractionHandler  Handler 
)

Save passwords in to the container, and store them in the file.

Parameters
UrlURL-pattern, that will be used later to retrieve passwords.
UserNameThe username.
PasswordsThe password-list.
HandlerThe handler to get super password to en/decrypt passwords
UrlRecord find ( [in] string  Url,
[in] XInteractionHandler  Handler 
)

Find users with passwords for the url pattern.

Parameters
UrlURL-pattern to retrieve password for.
HandlerThe handler to get super password to en/decrypt passwords
Returns
Best matched url-pattern with user-records list.
UrlRecord findForName ( [in] string  Url,
[in] string  UserName,
[in] XInteractionHandler  Handler 
)

Find passwords for the url pattern and username.

Parameters
UrlURL-pattern to retrieve passwords for.
UserNameUsername to retrieve passwords for.
HandlerThe handler to get super password to en/decrypt passwords
Returns
Best matched url-pattern for the username.
sequence<UrlRecord> getAllPersistent ( [in] XInteractionHandler  Handler)

Get all records from the file.

Returns
List of url-records.
void remove ( [in] string  Url,
[in] string  UserName 
)

Remove passwords for the url pattern and username.

Parameters
UrlURL-pattern to remove passwords for.
UserNameUsername to remove passwords for.
void removeAllPersistent ( )

Clean the file.

void removePersistent ( [in] string  Url,
[in] string  UserName 
)

Remove passwords for the url pattern and username from the file.

Parameters
UrlURL-pattern to remove passwords for.
UserNameUsername to remove passwords for.

The documentation for this interface was generated from the following file: