mirror of
https://github.com/freckle/yesod-auth-oauth2.git
synced 2026-01-11 19:58:28 +01:00
Apply suggestions from code review
This commit is contained in:
parent
fb1b506606
commit
3a333df1ce
@ -31,10 +31,10 @@ defaultScopes = ["openid", "profile"]
|
||||
oauth2AzureADv2
|
||||
:: YesodAuth m
|
||||
=> Text
|
||||
-- ^ Tenant Id
|
||||
--
|
||||
-- If using a multi-tenant App, @common@ can be given here.
|
||||
--
|
||||
-- ^ Tenant Id
|
||||
--
|
||||
-- If using a multi-tenant App, @common@ can be given here.
|
||||
--
|
||||
-> Text -- ^ Client Id
|
||||
-> Text -- ^ Client secret
|
||||
-> AuthPlugin m
|
||||
@ -44,10 +44,10 @@ oauth2AzureADv2Scoped
|
||||
:: YesodAuth m
|
||||
=> [Text] -- ^ Scopes
|
||||
-> Text
|
||||
-- ^ Tenant Id
|
||||
--
|
||||
-- If using a multi-tenant App, @common@ can be given here.
|
||||
--
|
||||
-- ^ Tenant Id
|
||||
--
|
||||
-- If using a multi-tenant App, @common@ can be given here.
|
||||
--
|
||||
-> Text -- ^ Client Id
|
||||
-> Text -- ^ Client Secret
|
||||
-> AuthPlugin m
|
||||
|
||||
Loading…
Reference in New Issue
Block a user