Skip to content

Commit

Permalink
add example
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Zocca committed Jun 20, 2023
1 parent 3c1888e commit a218ce5
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,15 @@ Haskell SDK for the Microsoft APIs:
| Azure | [![Hackage](https://img.shields.io/hackage/v/ms-azure-api?style=for-the-badge)](https://hackage.haskell.org/package/ms-azure-api) |


## Introduction

We provide separate libraries for authentication (`ms-auth`), Graph (`ms-graph-api`) and Azure (`ms-azure-api`) since they cater to different use cases; they are designed to work together at any rate.

In the majority of cases a user will want to install `ms-auth` as well as the API binding they need (unsure whether Azure or Graph allow anonymous usage of any of their endpoints).

## Examples

* OAuth flow : see `ms-graph-api-test/app/Main.hs`

## Status

Expand All @@ -24,6 +32,7 @@ Some breaking changes might also be introduced as the library matures.

We adhere to a simplified version of the [Package Versioning Policy](https://pvp.haskell.org/): breaking changes are signaled by increasing the major version number (e.g. 0.x -> 1.x ).

Significant changes in the SDK will be documented in the respective CHANGELOG.

## LICENSE

Expand Down
2 changes: 1 addition & 1 deletion ms-auth/ms-auth.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: ms-auth
version: 0.2.0.0
synopsis: Microsoft Authentication API
description: Bindings to the Microsoft Identity API / Active Directory (AD) for building applications that use either Delegated or App-only permissions. Helper functions are provided for building OAuth2 authentication flows and keep tokens transactionally secure and up to date.
homepage: https://github.com/unfoldml/ms-auth
homepage: https://github.com/unfoldml/ms-api
license: BSD3
license-file: LICENSE
author: Marco Zocca
Expand Down
6 changes: 3 additions & 3 deletions ms-azure-api/ms-azure-api.cabal
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: ms-azure-api
version: 0.1.0.0
-- synopsis:
-- description:
homepage: https://github.com/unfoldml/ms-azure-api
synopsis: Microsoft Azure API
description: Bindings to the Microsoft Azure API
homepage: https://github.com/unfoldml/ms-api
license: BSD3
license-file: LICENSE
author: Marco Zocca
Expand Down
2 changes: 1 addition & 1 deletion ms-graph-api/ms-graph-api.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: ms-graph-api
version: 1.0.0.0
synopsis: Microsoft Graph API
description: Bindings to the Microsoft Graph API
homepage: https://github.com/unfoldml/ms-graph-api
homepage: https://github.com/unfoldml/ms-api
license: BSD3
license-file: LICENSE
author: Marco Zocca
Expand Down

0 comments on commit a218ce5

Please sign in to comment.