Skip to content

Latest commit

 

History

History
94 lines (52 loc) · 1.53 KB

README.md

File metadata and controls

94 lines (52 loc) · 1.53 KB

OnePassword Web Client

Class Hierarchy

Methods

Methods

addEntry

addEntry(entry: [NewEntry]): Promise‹boolean›

Parameters:

Name Type
entry [NewEntry]

Returns: Promise‹boolean›


getEntries

getEntries(): Promise‹[Entry]

Returns: Promise


getEntryCredentials

getEntryCredentials(entryId: string): Promise‹[EntryCredentials]

Returns: Promise


login

login(password: string, username: string, secret: string): Promise‹void›

Parameters:

Name Type
password string
username string
secret string

Returns: Promise‹void›

Type aliases

NewEntry

Ƭ NewEntry: Record‹NewEntryFields, string›


NewEntryFields

Ƭ NewEntryFields: _"id" | "name" | "url" | "type" | "username" | "password" | "otp"


Entry

Ƭ Entry: Record‹EntryFields, string›


EntryFields

Ƭ EntryFields: _"id" | "name" | "url" | "type"


EntryCredentials

Ƭ EntryCredentials: Record‹EntryCredentialsFields, string›


EntryCredentialsFields

Ƭ EntryCredentialsFields: _"username" | "password" | "otp";