msal4flutter 0.0.1 copy "msal4flutter: ^0.0.1" to clipboard
msal4flutter: ^0.0.1 copied to clipboard

Unofficial Flutter package for The Microsoft Authentication Library (MSAL).

msal4flutter #

Features #

Unofficial Flutter package for The Microsoft Authentication Library (MSAL).

Currently only device authorization of OAuth 2.0 is supported.It works on Android, iOS, MacOS, Windows, Linux.

Usage #

    final client =  PublicClient(
        clientId: 'f522xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx',
        scope: ["Files.ReadWrite"]);

    final device = await client.create();
    print(device?.userCode);
    print(device?.expiresIn);
    print(device?.message);
    final token = await client.acquireTokenInteractive();
    print(token.accessToken);
1
likes
0
points
21
downloads

Publisher

unverified uploader

Weekly Downloads

Unofficial Flutter package for The Microsoft Authentication Library (MSAL).

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, gio, url_launcher

More

Packages that depend on msal4flutter