Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 914 Bytes

README.md

File metadata and controls

30 lines (26 loc) · 914 Bytes

GmalApiSamples

C# Samples for reading and updating Gmail API Messages

Code started from base: https://www.youtube.com/watch?v=0fTSKtPBLUc and refactored to be SOLID.

Google Client Details have been deleted. Replace with your own.

The resulting credentials file will be created in c:/temp/googleCreds

{
  "GMailSettings": {
    "EmailAddress": "me"
  },
  "GoogleClientSecret": {
    "installed": {
      "client_id": "944422752220-gh534srng8agn7j64h5q2g7m9i3abotf.apps.googleusercontent.com",
      "project_id": "zhoareadings",
      "auth_uri": "https://accounts.google.com/o/oauth2/auth",
      "token_uri": "https://oauth2.googleapis.com/token",
      "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
      "client_secret": "e7mrky3UUOzm5eEuNITDaK5w",
      "redirect_uris": [
        "urn:ietf:wg:oauth:2.0:oob",
        "http://localhost"
      ]
    }
  }
}