auth property

EventContextAuth? get auth
inherited

Authentication information for the user that triggered the function.

@remarks This object contains uid and token properties for authenticated users. For more detail including token keys, see the {@link https://firebase.google.com/docs/reference/rules/rules#properties | security rules reference}.

This field is only populated for Realtime Database triggers and Callable functions. For an unauthenticated user, this field is null. For Firebase admin users and event types that do not provide user information, this field does not exist.

Implementation

external EventContextAuth? get auth;