| java.lang.Object | |
| ↳ | com.google.firebase.auth.FirebaseCredentials |
This class is deprecated.
Use GoogleCredentials.
Standard FirebaseCredential implementations for use with FirebaseOptions.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static FirebaseCredential |
applicationDefault(HttpTransport transport, JsonFactory jsonFactory)
Returns a
FirebaseCredential based on Google Application Default Credentials which can
be used to authenticate the SDK. | ||||||||||
| 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, HttpTransport transport, JsonFactory jsonFactory)
Returns a
FirebaseCredential generated from the provided service account certificate
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, HttpTransport transport, JsonFactory jsonFactory)
Returns a
FirebaseCredential generated from the provided refresh token 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. Allows specifying the HttpTransport and the
JsonFactory to be used when communicating with the remote authentication server.
See Google Application Default Credentials for details on Google Application Deafult Credentials.
See Initialize the SDK for code samples and detailed documentation.
| transport | HttpTransport used to communicate with the remote
authentication server. |
|---|---|
| jsonFactory | JsonFactory used to parse JSON responses from the remote
authentication server. |
FirebaseCredential based on Google Application Default Credentials which can
be used to authenticate the SDK.
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. Allows specifying the HttpTransport
and the JsonFactory to be used when communicating with the remote authentication
server.
See Initialize the SDK for code samples and detailed documentation.
| serviceAccount | An InputStream containing the JSON representation of a
service account certificate. |
|---|---|
| transport | HttpTransport used to communicate with the remote
authentication server. |
| jsonFactory | JsonFactory used to parse JSON responses from the remote
authentication server. |
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 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. Allows specifying the HttpTransport and the
JsonFactory to be used when communicating with the remote authentication server.
See Initialize the SDK for code samples and detailed documentation.
| refreshToken | An InputStream containing the JSON representation of a refresh
token. |
|---|---|
| transport | HttpTransport used to communicate with the remote
authentication server. |
| jsonFactory | JsonFactory used to parse JSON responses from the remote
authentication server. |
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. |
|---|
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. |
|---|