mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-16 01:21:48 +01:00
Show toast when copying SCIM api key and URL (#11608)
This commit is contained in:
parent
2fb6a9e1ee
commit
237887a368
@ -82,6 +82,11 @@ export class ScimComponent implements OnInit {
|
|||||||
|
|
||||||
copyScimUrl = async () => {
|
copyScimUrl = async () => {
|
||||||
this.platformUtilsService.copyToClipboard(await this.getScimEndpointUrl());
|
this.platformUtilsService.copyToClipboard(await this.getScimEndpointUrl());
|
||||||
|
this.toastService.showToast({
|
||||||
|
message: this.i18nService.t("valueCopied", this.i18nService.t("scimUrl")),
|
||||||
|
variant: "success",
|
||||||
|
title: null,
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
rotateScimKey = async () => {
|
rotateScimKey = async () => {
|
||||||
@ -114,6 +119,11 @@ export class ScimComponent implements OnInit {
|
|||||||
|
|
||||||
copyScimKey = async () => {
|
copyScimKey = async () => {
|
||||||
this.platformUtilsService.copyToClipboard(this.formData.get("clientSecret").value);
|
this.platformUtilsService.copyToClipboard(this.formData.get("clientSecret").value);
|
||||||
|
this.toastService.showToast({
|
||||||
|
message: this.i18nService.t("valueCopied", this.i18nService.t("scimApiKey")),
|
||||||
|
variant: "success",
|
||||||
|
title: null,
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
submit = async () => {
|
submit = async () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user