Popularity
4.0
Growing
Activity
0.0
Declining
1
3
1

Monthly Downloads: 60
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Security    

planb-token-introspection alternatives and similar packages

Based on the "Security" category

Do you think we are missing an alternative of planb-token-introspection or a related project?

Add another 'Security' Package

README

Token Introspection for PlanB Hackage version Stackage version Build Status

This package provides token introspection functionality for PlanB.

Example

printTokenInfo :: ByteString -> IO ()
printTokenInfo token = do
  introspector <- PlanB.new "https://planb-endpoint"
  tokenInfo <- PlanB.introspectToken introspector token
  print tokenInfo

If the PlanB introspection endpoint to use can be retrieved from the environment variable PLANB_INTROSPECTION_ENDPOINT, then one can alternatively use

  introspector <- PlanB.newFromEnv Nothing

for creating the PlanB introspector.