Skip to content

Commit a3b50b6

Browse files
committed
Merge branch 'show-multiple-scopes' into add-include-tags
2 parents c092525 + c432b13 commit a3b50b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/src/main/java/com/google/firebase/samples/config/Configure.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,15 @@ public class Configure {
3838
* @return Access token.
3939
* @throws IOException
4040
*/
41+
// [START retrieve_access_token]
4142
private static String getAccessToken() throws IOException {
4243
GoogleCredential googleCredential = GoogleCredential
4344
.fromStream(new FileInputStream("service-account.json"))
4445
.createScoped(Arrays.asList(SCOPES));
4546
googleCredential.refreshToken();
4647
return googleCredential.getAccessToken();
4748
}
49+
// [END retrieve_access_token]
4850

4951
/**
5052
* Get current Firebase Remote Config template from server and store it locally.

0 commit comments

Comments
 (0)