Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions doc/AppUsers.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ private final refreshProvider = new BoxAuthentication.AuthenticationRefreshProvi
@Override
public BoxAuthentication.BoxAuthenticationInfo refreshAuthenticationInfo(BoxAuthentication.BoxAuthenticationInfo info) throws BoxException {
// Do things to retrieve updated access token from the previous info.
String refreshedAccessToken = MyServer.getNewAccessToken(info);
BoxAuthenticationInfo refreshedInfo = new BoxAuthenticationInfo(info.toJsonObject());
refreshedInfo.setAccessToken(refreshedAccessToken);
return refreshedInfo;
}

Expand Down