Skip to content

Commit

Permalink
feat: add Eq instance to OIDC
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanLorimer committed Jul 17, 2024
1 parent 93a64b9 commit d0bf5a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Web/OIDC/Client/Discovery/Provider.hs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import Jose.Jwk (Jwk)
import Web.OIDC.Client.Types (IssuerLocation, ScopeValue)

-- | An OpenID Provider information
data Provider = Provider { configuration :: Configuration, jwkSet :: [Jwk] } deriving (Show)
data Provider = Provider { configuration :: Configuration, jwkSet :: [Jwk] } deriving (Eq, Show)

data JwsAlgJson = JwsAlgJson { getJwsAlg :: JwsAlg } | Unsupported Text deriving (Show, Eq)

Expand Down
2 changes: 1 addition & 1 deletion src/Web/OIDC/Client/Settings.hs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ data OIDC = OIDC
, oidcClientSecret :: ByteString
, oidcRedirectUri :: ByteString
, oidcProvider :: Provider
} deriving Show
} deriving (Eq, Show)

def :: OIDC
def = OIDC
Expand Down

0 comments on commit d0bf5a3

Please sign in to comment.