1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #include "WebAuthnAutoFillEntry.h"
7 namespace mozilla::dom
{
9 NS_IMPL_ISUPPORTS(WebAuthnAutoFillEntry
, nsIWebAuthnAutoFillEntry
)
12 WebAuthnAutoFillEntry::GetProvider(uint8_t* aProvider
) {
13 *aProvider
= mProvider
;
18 WebAuthnAutoFillEntry::GetUserName(nsAString
& aUserName
) {
19 aUserName
.Assign(mUserName
);
24 WebAuthnAutoFillEntry::GetRpId(nsAString
& aRpId
) {
30 WebAuthnAutoFillEntry::GetCredentialId(nsTArray
<uint8_t>& aCredentialId
) {
31 aCredentialId
.Assign(mCredentialId
);
35 } // namespace mozilla::dom