Interface FirebaseAuthConfig
-
@Immutable @Modifiable public interface FirebaseAuthConfig
Configuration properties for a firebase authentication.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
check()
java.util.List<java.lang.String>
getAllowedGoogleDomains()
A list of allowed Google-login domains.java.util.List<java.lang.String>
getExcludedPaths()
A list of paths that should allow unauthenticated requests.java.util.List<java.lang.String>
getIncludedPaths()
A list of paths that must allow authenticated requests.java.lang.String
getProjectId()
Firebase project idjava.lang.String
getServiceAccountBase64()
Base64-encoded firebase service account.boolean
isAllowUnverifiedEmail()
Whether to authenticate users with unverified email address.
-
-
-
Method Detail
-
getServiceAccountBase64
java.lang.String getServiceAccountBase64()
Base64-encoded firebase service account.
-
getProjectId
java.lang.String getProjectId()
Firebase project id
-
isAllowUnverifiedEmail
boolean isAllowUnverifiedEmail()
Whether to authenticate users with unverified email address.
-
getAllowedGoogleDomains
java.util.List<java.lang.String> getAllowedGoogleDomains()
A list of allowed Google-login domains. If non-empty, only tokens that authenticate to users logged into Google with one of these domains will be allowed.
-
getExcludedPaths
java.util.List<java.lang.String> getExcludedPaths()
A list of paths that should allow unauthenticated requests. Unauthenticated requests to paths in this list will be allowed. Only one of excluded or included paths can be set, not both.
-
getIncludedPaths
java.util.List<java.lang.String> getIncludedPaths()
A list of paths that must allow authenticated requests. Unauthenticated requests to paths not in this list will be allowed. Only one of excluded or included paths can be set, not both.
-
check
@Check default void check()
-
-