public interface FirebaseSecurityRulesReference
FirebaseSecurityRulesReference allows for updating of Firebase's security rules. It can be used
to get or set the security rules using the REST API.| Modifier and Type | Method and Description |
|---|---|
org.jdeferred.Promise<FirebaseSecurityRules,FirebaseRuntimeException,java.lang.Void> |
get()
Retrieves the rules currently configured for the
FirebaseRestDatabase. |
org.jdeferred.Promise<FirebaseSecurityRules,FirebaseRuntimeException,java.lang.Void> |
set(FirebaseSecurityRules newRules)
Replaces the existing security rules with the ones provided when invoking this method.
|
org.jdeferred.Promise<FirebaseSecurityRules,FirebaseRuntimeException,java.lang.Void> get()
FirebaseRestDatabase.org.jdeferred.Promise<FirebaseSecurityRules,FirebaseRuntimeException,java.lang.Void> set(FirebaseSecurityRules newRules)
newRules - The new set of rules that should be applied from now on.FirebaseSecurityRules object passed in as the value if the request was successful.