| java.lang.Object | |
| ↳ | com.google.firebase.auth.FirebaseCredentials |
Standard FirebaseCredential implementations for use with FirebaseOptions.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static FirebaseCredential |
applicationDefault()
Returns a
FirebaseCredential based on Google Application Default Credentials which can
be used to authenticate the SDK. | ||||||||||
| static FirebaseCredential |
fromCertificate(InputStream serviceAccount)
Returns a
FirebaseCredential generated from the provided service account certificate
which can be used to authenticate the SDK. | ||||||||||
| static FirebaseCredential |
fromRefreshToken(InputStream refreshToken)
Returns a
FirebaseCredential generated from the provided refresh token which can be
used to authenticate the SDK. | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Returns a FirebaseCredential based on Google Application Default Credentials which can
be used to authenticate the SDK.
See Google Application Default Credentials for details on Google Application Deafult Credentials.
See Initialize the SDK for code samples and detailed documentation.
FirebaseCredential based on Google Application Default Credentials which can
be used to authenticate the SDK.
Returns a FirebaseCredential generated from the provided service account certificate
which can be used to authenticate the SDK.
See Initialize the SDK for code samples and detailed documentation.
| serviceAccount | An InputStream containing the JSON representation of a
service account certificate. |
|---|
FirebaseCredential generated from the provided service account certificate
which can be used to authenticate the SDK.| IOException | If an error occurs while parsing the service account certificate. |
|---|
Returns a FirebaseCredential generated from the provided refresh token which can be
used to authenticate the SDK.
See Initialize the SDK for code samples and detailed documentation.
| refreshToken | An InputStream containing the JSON representation of a refresh
token. |
|---|
FirebaseCredential generated from the provided service account credential
which can be used to authenticate the SDK.| IOException | If an error occurs while parsing the refresh token. |
|---|