Skip to content

Commit 82bc562

Browse files
committed
Explain token refresh strategy
1 parent 01c89d2 commit 82bc562

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ public class Configure {
3535

3636
/**
3737
* Retrieve a valid access token that can be use to authorize requests to the Remote Config REST
38-
* API.
38+
* API. If there is no existing access token or if the existing one will expire in less than
39+
* five minutes a fresh token is fetched.
3940
*
4041
* This method must be called in either a trusted Google environment like GCP or if running
4142
* elsewhere the GOOGLE_APPLICATION_CREDENTIALS environment variable must be set to the path

0 commit comments

Comments
 (0)