Optional app to return the SecurityRules service
for. If not provided, the default SecurityRules service
is returned.
The default SecurityRules service if no app is provided, or the
SecurityRules service associated with the provided app.
Generated using TypeDoc
Gets the
SecurityRulesservice for the default app or a given app.admin.securityRules()can be called with no arguments to access the default app'sSecurityRulesservice, or asadmin.securityRules(app)to access theSecurityRulesservice associated with a specific app.// Get the SecurityRules service for the default app var defaultSecurityRules = admin.securityRules();// Get the SecurityRules service for a given app var otherSecurityRules = admin.securityRules(otherApp);