Maintainer | krdlab@gmail.com |
---|---|
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- data Tokens a = Tokens {
- accessToken :: Text
- tokenType :: Text
- idToken :: IdTokenClaims a
- idTokenJwt :: Jwt
- expiresIn :: Maybe Integer
- refreshToken :: Maybe Text
- data IdTokenClaims a = IdTokenClaims {}
- validateIdToken :: (MonadIO m, FromJSON a) => OIDC -> Jwt -> m (IdTokenClaims a)
Documentation
Tokens | |
|
data IdTokenClaims a Source #
Claims required for an ID Token, plus recommended claims (nonce) and other custom claims.
Instances
validateIdToken :: (MonadIO m, FromJSON a) => OIDC -> Jwt -> m (IdTokenClaims a) Source #