Skip to content

Commit d32c71d

Browse files
kroikiesamtstern
authored andcommitted
Add include tags (#26)
1 parent c092525 commit d32c71d

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)