Skip to content
This repository has been archived by the owner on Jan 7, 2022. It is now read-only.

Latest commit

 

History

History
38 lines (25 loc) · 1.21 KB

README.md

File metadata and controls

38 lines (25 loc) · 1.21 KB

Microsoft meteor package

An implementation of the Microsoft OAuth flow

Build Status

Getting started

Add the package to meteor

meteor add jonshaffer:microsoft

Basic usage

The usage is pretty much the same as all other OAuth flow implementations for meteor. It's inspired by the official Google meteor package. Basically you can use:

var callback = Accounts.oauth.credentialRequestCompleteHandler(callback);
Microsoft.requestCredential(options, callback);

For examples and more information on what options you can use, check out: jonshaffer:accounts-microsoft.

References

Accounts package

Microsoft REST documentation