public class FirebaseSecurityRules
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
INDEX_KEY
The key to be used when setting an index.
|
static java.lang.String |
READ_KEY
The key to be used for setting read access.
|
static java.lang.String |
VALIDATE_KEY
The key to be used for validating new inputs.
|
static java.lang.String |
WRITE_KEY
The key to be used for setting write access.
|
| Constructor and Description |
|---|
FirebaseSecurityRules() |
FirebaseSecurityRules(java.util.Map<java.lang.String,java.lang.Object> rules) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getRules()
Returns the representation of the Firebase in form of a map.
|
public static final java.lang.String WRITE_KEY
public static final java.lang.String READ_KEY
public static final java.lang.String VALIDATE_KEY
public static final java.lang.String INDEX_KEY
public FirebaseSecurityRules()
public FirebaseSecurityRules(java.util.Map<java.lang.String,java.lang.Object> rules)
public java.util.Map<java.lang.String,java.lang.Object> getRules()
Boolean value, a String of this key's rule definition, or another map representing
the rules of the children of the current node.