Граф коммитов

13 Коммитов

Автор SHA1 Сообщение Дата
AdamCrabtreeMSFT f3c3c53e21 This commit fixes multiple issues identified by PR commentors.
1.It updates the header readme of all files to the correct liscense.
2.APNSToken has been changed from a singleton pattern to directly return the APNSToken from a a class-wide message implemenation method.
3. Removed all references to Project Rome.
4. Removing adaptive cards as it is no longer needed.
5. Fixing MSA scopes.
6. Deduping code between MSA and AAD logins.
7. Updating Secrets.h to have the required paramaters in the new graph notifications client.
2020-01-02 11:42:16 -08:00
AdamCrabtreeMSFT f80d95e388 This adds the implemenation of MSAL to the iOS graph notifications sample.
This commit will show the MSAL sign in process with both AAD and MSA to get an MSAL oAuth2 token, the initialization of notifications manager, and the subscription of the application to MSGraph using the received MSAL oAuth2 Token, and the AppPackageName to be put into secrets.h.

This change marks feature completeness of the iOS sample application.
2019-12-30 12:07:13 -08:00
AdamCrabtreeMSFT e690333ef9 Add a sample application for the iOS client SDK (#1)
This sample application demonstrates the new web client library for
    Microsoft Graph notifications, @microsoft/user-notifications-client version 0.0.6
    (https://www.npmjs.com/package/@microsoft/user-notifications-client/v/0.0.6 ).

    The sample app lets you do the following:

    - Sign in using a Microsoft Azure Active Directory user account or MSA account.

    - Subscribe and unsubscribe for Microsoft Graph notifications.

    - Receive push notifications from the Graph notifications server.

    - Fetch Graph notifications

    - Update Graph notification state and delete Graph notifications.

    To do Azure AD user authentication, this sample app uses the Microsoft
    Authentication Library for Objective-C. Microsoft recommends you use MSAL when building your Graph notifications
    client app, but you can feel free to use any OAuth web authentication
    library.

    We hope you find this sample app useful!

    Code reviewer: Mariah Hart <mariahhart@users.noreply.github.com>

    Closes #1
2019-12-30 10:39:02 -08:00
Michael Ratanapintha d2a5099fb2
Update dependencies for JavaScript sample app (#2)
The important update is to the `serialize-javascript` package,
which recently released version v2.1.1 to fix a security vulnerability
CVE-2019-16769 (https://github.com/advisories/GHSA-h9rv-jmmf-4pgx ),
in which regular expressions in the input JS were not properly serialized
in the resulting JSON. Since `serialize-javascript` is only used as part
of the build process to minify the web app's code (which we control),
this vulnerability shouldn't affect us, but in case it does, this PR exists.

### How tested?
Manually reloaded the sample app and verified that the basic functions work.

Closes #2
2019-12-09 13:20:23 -08:00
Michael Ratanapintha 0b6e15782e
add wiki link to README 2019-11-26 19:28:26 -08:00
Michael Ratanapintha 201f610f48
Add a sample application for the web client SDK (#1)
This sample application demonstrates the new web client library for
Microsoft Graph notifications, @microsoft/user-notifications-client version 0.1.7
(https://www.npmjs.com/package/@microsoft/user-notifications-client/v/0.1.7 ).

The sample app lets you do the following:

- Sign in using a Microsoft Azure Active Directory user account.
  If you'd like to use a personal, free-of-charge Microsoft account,
  follow the instructions in the included README file to modify
  the sample code.

- Subscribe and unsubscribe for Microsoft Graph notifications.

- Receive push notifications from the Graph notifications server.

- Fetch Graph notifications (notification data is logged to the JavaScript console).

- Update Graph notification state and delete Graph notifications.

To do Azure AD user authentication, this sample app uses the Microsoft
Authentication Library for JavaScript (MSAL.js)
(https://github.com/AzureAD/microsoft-authentication-library-for-js ).
Microsoft recommends you use MSAL when building your Graph notifications
client app, but you can feel free to use any OAuth web authentication
library.

We hope you find this sample app useful!

Code reviewer: Mariah Hart <mariahhart@users.noreply.github.com>

Co-Authored-By: Dan Salajan <razvansalajan@users.noreply.github.com>
Co-Authored-By: Michael Ratanapintha <metathinker@users.noreply.github.com>

Closes #1
2019-11-26 12:47:58 -08:00
Merzin Kapadia 15c7d58bdd
Update README.md 2019-11-03 20:57:23 -08:00
Merzin Kapadia 9a5e271190
Update README.md 2019-11-03 20:54:58 -08:00
Microsoft Open Source f06f52e516 Initial SECURITY.md commit 2019-10-23 16:35:24 -07:00
Microsoft Open Source 2de1138b0d Initial CODE_OF_CONDUCT.md commit 2019-10-23 16:35:23 -07:00
Microsoft Open Source 75d3933b46 Initial README.md commit 2019-10-23 16:35:22 -07:00
Microsoft Open Source a5e52df3e2 Initial LICENSE commit 2019-10-23 16:35:21 -07:00
microsoft-github-operations[bot] 9926437482
Initial commit 2019-10-23 23:35:18 +00:00