4.2.1 • Published 1 month ago

@microsoft/mgt-teamsfx-provider v4.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

Microsoft Graph Toolkit TeamsFx Provider

npm

The Microsoft Graph Toolkit (mgt) library is a collection of authentication providers and UI components powered by Microsoft Graph.

The @microsoft/mgt-teamsfx-provider package exposes the TeamsFxProvider class which uses TeamsFx to sign in users and acquire tokens to use with Microsoft Graph.

Usage

  1. Install the packages

    npm install @microsoft/mgt-element @microsoft/mgt-teamsfx-provider
  2. Initialize the provider in code with TeamsFxConfig

    import {Providers, LoginType} from '@microsoft/mgt-element';
    import {TeamsFxProvider} from '@microsoft/mgt-teamsfx-provider';
    
    // initialize the auth provider globally
    Providers.globalProvider = new TeamsFxProvider({
      scopes: [
        "User.Read",
        "User.ReadBasic.All"
      ]
    });

See provider usage documentation to learn about how to use the providers with the mgt components, to sign in/sign out, get access tokens, call Microsoft Graph, and more.

Sea also

4.2.1

1 month ago

4.2.0

1 month ago

4.1.0

2 months ago

4.0.1

3 months ago

4.0.0

3 months ago

3.1.3

7 months ago

3.1.2

8 months ago

3.1.1

9 months ago

3.1.0

9 months ago

3.0.1

10 months ago

2.11.2

11 months ago

3.0.0

11 months ago

2.11.0

11 months ago

2.11.1

11 months ago

3.0.0-preview.2

12 months ago

2.10.1

1 year ago

3.0.0-rc.2

11 months ago

3.0.0-rc.1

11 months ago

3.0.0-rc.3

11 months ago

3.0.0-preview.1

1 year ago

2.10.0

1 year ago

2.9.2

1 year ago

2.9.1

1 year ago

2.8.0

1 year ago

2.9.0

1 year ago

2.7.0

2 years ago

2.7.1

2 years ago

2.6.2

2 years ago

2.6.1

2 years ago

2.6.0

2 years ago

2.5.0

2 years ago

2.5.2

2 years ago

2.5.1

2 years ago