ory-hydra-client-2.0.3: Auto-generated ory-hydra-client API Client
Safe HaskellSafe-Inferred
LanguageHaskell2010

OryHydra.API.Jwk

Description

 
Synopsis

Operations

Jwk

createJsonWebKeySet0

createJsonWebKeySet0 Source #

POST /admin/keys/{set}

Create JSON Web Key

This endpoint is capable of generating JSON Web Key Sets for you. There a different strategies available, such as symmetric cryptographic keys (HS256, HS512) and asymetric cryptographic keys (RS256, ECDSA). If the specified JSON Web Key Set does not exist, it will be created. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.

data CreateJsonWebKeySet0 Source #

Instances

Instances details
HasBodyParam CreateJsonWebKeySet0 CreateJsonWebKeySet Source # 
Instance details

Defined in OryHydra.API.Jwk

Consumes CreateJsonWebKeySet0 MimeJSON Source #
application/json
Instance details

Defined in OryHydra.API.Jwk

Produces CreateJsonWebKeySet0 MimeJSON Source #
application/json
Instance details

Defined in OryHydra.API.Jwk

deleteJsonWebKey

deleteJsonWebKey Source #

Arguments

:: Set

"set" - The JSON Web Key Set

-> Kid

"kid" - The JSON Web Key ID (kid)

-> OryHydraRequest DeleteJsonWebKey MimeNoContent NoContent MimeNoContent 
DELETE /admin/keys/{set}/{kid}

Delete JSON Web Key

Use this endpoint to delete a single JSON Web Key. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.

data DeleteJsonWebKey Source #

Instances

Instances details
Produces DeleteJsonWebKey MimeNoContent Source # 
Instance details

Defined in OryHydra.API.Jwk

deleteJsonWebKeySet

deleteJsonWebKeySet Source #

Arguments

:: Set

"set" - The JSON Web Key Set

-> OryHydraRequest DeleteJsonWebKeySet MimeNoContent NoContent MimeNoContent 
DELETE /admin/keys/{set}

Delete JSON Web Key Set

Use this endpoint to delete a complete JSON Web Key Set and all the keys in that set. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.

data DeleteJsonWebKeySet Source #

Instances

Instances details
Produces DeleteJsonWebKeySet MimeNoContent Source # 
Instance details

Defined in OryHydra.API.Jwk

getJsonWebKey

getJsonWebKey Source #

Arguments

:: Set

"set" - JSON Web Key Set ID

-> Kid

"kid" - JSON Web Key ID

-> OryHydraRequest GetJsonWebKey MimeNoContent JsonWebKeySet MimeJSON 
GET /admin/keys/{set}/{kid}

Get JSON Web Key

This endpoint returns a singular JSON Web Key contained in a set. It is identified by the set and the specific key ID (kid).

data GetJsonWebKey Source #

Instances

Instances details
Produces GetJsonWebKey MimeJSON Source #
application/json
Instance details

Defined in OryHydra.API.Jwk

getJsonWebKeySet

getJsonWebKeySet Source #

Arguments

:: Set

"set" - JSON Web Key Set ID

-> OryHydraRequest GetJsonWebKeySet MimeNoContent JsonWebKeySet MimeJSON 
GET /admin/keys/{set}

Retrieve a JSON Web Key Set

This endpoint can be used to retrieve JWK Sets stored in ORY Hydra. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.

data GetJsonWebKeySet Source #

Instances

Instances details
Produces GetJsonWebKeySet MimeJSON Source #
application/json
Instance details

Defined in OryHydra.API.Jwk

setJsonWebKey

setJsonWebKey Source #

Arguments

:: Consumes SetJsonWebKey MimeJSON 
=> Set

"set" - The JSON Web Key Set ID

-> Kid

"kid" - JSON Web Key ID

-> OryHydraRequest SetJsonWebKey MimeJSON JsonWebKey MimeJSON 
PUT /admin/keys/{set}/{kid}

Set JSON Web Key

Use this method if you do not want to let Hydra generate the JWKs for you, but instead save your own. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.

data SetJsonWebKey Source #

Instances

Instances details
HasBodyParam SetJsonWebKey JsonWebKey Source # 
Instance details

Defined in OryHydra.API.Jwk

Methods

setBodyParam :: (Consumes SetJsonWebKey contentType, MimeRender contentType JsonWebKey) => OryHydraRequest SetJsonWebKey contentType res accept -> JsonWebKey -> OryHydraRequest SetJsonWebKey contentType res accept Source #

Consumes SetJsonWebKey MimeJSON Source #
application/json
Instance details

Defined in OryHydra.API.Jwk

Produces SetJsonWebKey MimeJSON Source #
application/json
Instance details

Defined in OryHydra.API.Jwk

setJsonWebKeySet

setJsonWebKeySet Source #

PUT /admin/keys/{set}

Update a JSON Web Key Set

Use this method if you do not want to let Hydra generate the JWKs for you, but instead save your own. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.

data SetJsonWebKeySet Source #

Instances

Instances details
HasBodyParam SetJsonWebKeySet JsonWebKeySet Source # 
Instance details

Defined in OryHydra.API.Jwk

Methods

setBodyParam :: (Consumes SetJsonWebKeySet contentType, MimeRender contentType JsonWebKeySet) => OryHydraRequest SetJsonWebKeySet contentType res accept -> JsonWebKeySet -> OryHydraRequest SetJsonWebKeySet contentType res accept Source #

Consumes SetJsonWebKeySet MimeJSON Source #
application/json
Instance details

Defined in OryHydra.API.Jwk

Produces SetJsonWebKeySet MimeJSON Source #
application/json
Instance details

Defined in OryHydra.API.Jwk