openid-connect-0.1.1: An OpenID Connect library that does all the heavy lifting for you
CopyrightThis file is part of the package openid-connect. It is subject to
the license terms in the LICENSE file found in the top-level
directory of this distribution and at:

https://code.devalot.com/open/openid-connect

No part of this package including this file may be copied
modified propagated or distributed except according to the terms
contained in the LICENSE file.
LicenseBSD-2-Clause
Safe HaskellNone
LanguageHaskell2010

OpenID.Connect.Provider.Key

Description

 
Synopsis

Generating Keys

newJWK :: MonadRandom m => KeyUse -> m (JWK, Text) Source #

An opinionated way of creating a JWK. For more control over how the key is crated use genJWK instead.

Returns the new key and the key's ID.

Since: 0.1.0.0

newSigningJWK :: MonadRandom m => m JWK Source #

Created a new signing key.

Since: 0.1.0.0

newEncryptionJWK :: MonadRandom m => m JWK Source #

Create a new encryption key.

Since: 0.1.0.0