PetscGoogleDriveRefresh#

Get a new authorization token for accessing Google drive from PETSc from a refresh token

Synopsis#

PetscErrorCode PetscGoogleDriveRefresh(MPI_Comm comm, const char refresh_token[], char access_token[], size_t tokensize)

Not Collective, only the first process in the MPI_Comm does anything

Input Parameters#

Output Parameter#

Options Database Key#

See Also#

PetscURLShorten(), PetscGoogleDriveAuthorize(), PetscGoogleDriveUpload()

Level#

intermediate

Location#

src/sys/webclient/google.c

Examples#

src/sys/webclient/tutorials/googledriveupload.c


Edit on GitLab

Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages