Skip to content

Commit 03417bf

Browse files
author
Marco Zocca
committed
split into packages, add ms-auth and ms-azure-api
1 parent 40659c0 commit 03417bf

File tree

34 files changed

+356
-15
lines changed

34 files changed

+356
-15
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
/.cabal-sandbox/
33
/cabal.sandbox.config
44
/.stack-work/
5+
.DS_Store

ms-auth/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Changelog for `ms-auth`
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to the
7+
[Haskell Package Versioning Policy](https://pvp.haskell.org/).
8+
9+
## Unreleased
10+
11+
## 0.1.0.0 - YYYY-MM-DD

LICENSE renamed to ms-auth/LICENSE

File renamed without changes.
File renamed without changes.

ms-auth/ms-auth.cabal

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: ms-auth
2+
version: 0.1.0.0
3+
synopsis: Microsoft Authentication API
4+
description: Bindings to the Microsoft Authentication API / Azure ActiveDirectory (AAD) 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.
5+
homepage: https://github.com/unfoldml/ms-auth
6+
license: BSD3
7+
license-file: LICENSE
8+
author: Marco Zocca
9+
maintainer: [email protected]
10+
copyright: 2023 Marco Zocca, UnfoldML
11+
category: Web
12+
build-type: Simple
13+
extra-source-files: README.md
14+
CHANGELOG.md
15+
cabal-version: >=1.10
16+
tested-with: GHC == 9.2.8
17+
18+
library
19+
default-language: Haskell2010
20+
hs-source-dirs: src
21+
exposed-modules: Network.OAuth2.JWT
22+
Network.OAuth2.Session
23+
Network.OAuth2.Provider.AzureAD
24+
build-depends: base >= 4.7 && < 5
25+
, aeson
26+
, bytestring
27+
, containers
28+
, hoauth2 == 2.6.0
29+
, http-client
30+
, http-types
31+
, jwt
32+
, scientific
33+
, scotty
34+
, text
35+
, time
36+
, transformers
37+
, uri-bytestring
38+
, validation-micro
39+
, unliftio
40+
ghc-options: -Wall
41+
-Wcompat
42+
-Widentities
43+
-Wincomplete-record-updates
44+
-Wincomplete-uni-patterns
45+
-Wmissing-export-lists
46+
-Wmissing-home-modules
47+
-Wpartial-fields
48+
-Wredundant-constraints
49+
50+
source-repository head
51+
type: git
52+
location: https://github.com/unfoldml/ms-auth
File renamed without changes.
File renamed without changes.

ms-auth/stack.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
resolver:
2+
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/20/26.yaml
3+
4+
packages:
5+
- .
6+
7+
extra-deps:
8+
- validation-micro-1.0.0.0
9+
# - git: https://github.com/commercialhaskell/stack.git
10+
# commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a
11+
12+
# extra-deps: []
13+
14+
# Override default flag values for local packages and extra-deps
15+
# flags: {}
16+
17+
# Extra package databases containing global packages
18+
# extra-package-dbs: []
19+
20+
# Control whether we use the GHC we find on the path
21+
# system-ghc: true
22+
#
23+
# Require a specific version of Stack, using version ranges
24+
# require-stack-version: -any # Default
25+
# require-stack-version: ">=2.9"
26+
#
27+
# Override the architecture used by Stack, especially useful on Windows
28+
# arch: i386
29+
# arch: x86_64
30+
#
31+
# Extra directories used by Stack for building
32+
# extra-include-dirs: [/path/to/dir]
33+
# extra-lib-dirs: [/path/to/dir]
34+
#
35+
# Allow a newer minor version of GHC than the snapshot specifies
36+
# compiler-check: newer-minor
File renamed without changes.

0 commit comments

Comments
 (0)