I'm doing an implementation with API
of Google Drive, and in the code block:
credenciais = GoogleWebAuthorizationBroker.AuthorizeAsync(
GoogleClientSecrets.Load(stream).Secrets,
new[] { DriveService.Scope.Drive },
"user",
CancellationToken.None,
new FileDataStore(diretorioCredenciais, true)).Result;
What is used to get the credentials, there are the parameters: "user"
and CancellationToken.None
, I would like to know.
-
What are they?
-
What are they good for?