Clears the cached credential types. Call this if you need to refresh the list after adding new types.
Opens a dialog to create a new credential with optional pre-selections. Convenience method that wraps openDialog with create-specific defaults.
The ViewContainerRef to attach the dialog to
OptionalpreselectedTypeId: stringOptional credential type to pre-select
OptionalpreselectedCategoryId: stringOptional category to pre-select
Promise resolving to the dialog result
Opens a dialog to edit an existing credential. Convenience method that wraps openDialog with edit-specific defaults.
The ViewContainerRef to attach the dialog to
The credential to edit
Promise resolving to the dialog result
Gets cached credential types or loads them if not cached. Types are cached to avoid repeated database calls.
Opens a credential dialog and returns a promise that resolves when the dialog closes.
The ViewContainerRef to attach the dialog to
Optionaloptions: CredentialDialogOptionsOptional configuration for the dialog
Promise resolving to the dialog result
Service for programmatically opening credential dialogs.
Example