auth.UserRecordMetadata class

Helper class to create the user metadata in aUserRecord object.

Signature:

exportdeclareclassUserRecordMetadataimplementsauth.UserMetadata

Implements: auth.UserMetadata

Constructors

ConstructorModifiersDescription
(constructor)(creationTime, lastSignInTime)Constructs a new instance of theUserRecordMetadata class

Properties

PropertyModifiersTypeDescription
creationTimestring
lastSignInTimestring

Methods

MethodModifiersDescription
toJSON()Returns a plain JavaScript object with the properties of UserRecordMetadata.

auth.UserRecordMetadata.(constructor)

Constructs a new instance of theUserRecordMetadata class

Signature:

constructor(creationTime:string,lastSignInTime:string);

Parameters

ParameterTypeDescription
creationTimestring
lastSignInTimestring

auth.UserRecordMetadata.creationTime

Signature:

creationTime:string;

auth.UserRecordMetadata.lastSignInTime

Signature:

lastSignInTime:string;

auth.UserRecordMetadata.toJSON()

Returns a plain JavaScript object with the properties of UserRecordMetadata.

Signature:

toJSON():AuthUserMetadata;

Returns:

AuthUserMetadata

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2023-11-21 UTC.