Home
last modified time | relevance | path

Searched refs:access_token (Results 1 – 7 of 7) sorted by relevance

/petsc/src/sys/webclient/tutorials/
H A Dgoogledriveupload.c9 char access_token[512]; in main() local
13 PetscCall(PetscGoogleDriveRefresh(PETSC_COMM_WORLD, NULL, access_token, sizeof(access_token))); in main()
14 PetscCall(PetscGoogleDriveUpload(PETSC_COMM_WORLD, access_token, "googledriveupload.c")); in main()
H A Dboxupload.c12 char access_token[512], new_refresh_token[512]; in main() local
16 …PetscCall(PetscBoxRefresh(PETSC_COMM_WORLD, NULL, access_token, new_refresh_token, sizeof(access_t… in main()
H A Dgoogleobtainrefreshtoken.c14 char access_token[512], refresh_token[512]; in main() local
18 …tscCall(PetscGoogleDriveAuthorize(PETSC_COMM_WORLD, access_token, refresh_token, sizeof(access_tok… in main()
H A Dboxobtainrefreshtoken.c12 char access_token[512], refresh_token[512]; in main() local
16 PetscCall(PetscBoxAuthorize(PETSC_COMM_WORLD, access_token, refresh_token, sizeof(access_token))); in main()
/petsc/src/sys/webclient/
H A Dgoogle.c36 PetscErrorCode PetscGoogleDriveRefresh(MPI_Comm comm, const char refresh_token[], char access_token in PetscGoogleDriveRefresh() argument
54 PetscCall(PetscGoogleDriveAuthorize(comm, access_token, refreshtoken, 512 * sizeof(char))); in PetscGoogleDriveRefresh()
74 PetscCall(PetscPullJSONValue(buff, "access_token", access_token, tokensize, &found)); in PetscGoogleDriveRefresh()
119 PetscErrorCode PetscGoogleDriveUpload(MPI_Comm comm, const char access_token[], const char filename… in PetscGoogleDriveUpload() argument
135 PetscCall(PetscStrlcat(head, access_token, sizeof(head))); in PetscGoogleDriveUpload()
209 PetscErrorCode PetscGoogleDriveAuthorize(MPI_Comm comm, char access_token[], char refresh_token[], … in PetscGoogleDriveAuthorize() argument
250 PetscCall(PetscPullJSONValue(buff, "access_token", access_token, tokensize, &found)); in PetscGoogleDriveAuthorize()
H A Dglobus.c98 PetscErrorCode PetscGlobusAuthorize(MPI_Comm comm, char access_token[], size_t tokensize) in PetscGlobusAuthorize() argument
133 PetscCall(PetscPullJSONValue(buff, "access_token", access_token, tokensize, &found)); in PetscGlobusAuthorize()
137 … PetscCall(PetscPrintf(comm, "programs with the option -globus_access_token %s\n", access_token)); in PetscGlobusAuthorize()
161 PetscErrorCode PetscGlobusGetTransfers(MPI_Comm comm, const char access_token[], char buff[], size_… in PetscGlobusGetTransfers() argument
173 if (access_token) { in PetscGlobusGetTransfers()
174 PetscCall(PetscStrlcat(head, access_token, sizeof(head))); in PetscGlobusGetTransfers()
210 PetscErrorCode PetscGlobusUpload(MPI_Comm comm, const char access_token[], const char filename[]) in PetscGlobusUpload() argument
226 if (access_token) { in PetscGlobusUpload()
227 PetscCall(PetscStrlcat(head, access_token, sizeof(head))); in PetscGlobusUpload()
H A Dbox.c104 PetscErrorCode PetscBoxAuthorize(MPI_Comm comm, char access_token[], char refresh_token[], size_t t… in PetscBoxAuthorize() argument
141 PetscCall(PetscPullJSONValue(buff, "access_token", access_token, tokensize, &found)); in PetscBoxAuthorize()
173 PetscErrorCode PetscBoxRefresh(MPI_Comm comm, const char refresh_token[], char access_token[], char… in PetscBoxRefresh() argument
192 PetscCall(PetscBoxAuthorize(comm, access_token, new_refresh_token, 512 * sizeof(char))); in PetscBoxRefresh()
215 PetscCall(PetscPullJSONValue(buff, "access_token", access_token, tokensize, &found)); in PetscBoxRefresh()
268 PetscErrorCode PetscBoxUpload(MPI_Comm comm, const char access_token[], const char filename[]) in PetscBoxUpload() argument
284 PetscCall(PetscStrlcat(head, access_token, sizeof(head))); in PetscBoxUpload()