italia / spid-cie-oidc-django

The SPID/CIE OIDC Federation SDK, written in Python
Apache License 2.0
27 stars 28 forks source link

[Feat] Trust Mark status endpoint #36

Closed peppelinux closed 2 years ago

peppelinux commented 2 years ago

This is to allow an entity to check whether a trust mark is still active or not. The query MUST be sent to the trust mark issuer.

The request MUST be an HTTP request using the GET method and the https scheme to a resolved status endpoint with the following query string parameters:

sub OPTIONAL. The entity_id for the entity to which the trust mark was issued.

id OPTIONAL. Identifier of the trust mark.

iat OPTIONAL. When the trust mark was issued. If iat is not specified and the trust issuer have issued several trust marks with the id specified in the request to the entity identified by sub. Then the last last one is assumed.

trust_mark OPTIONAL. The whole trust mark

peppelinux commented 2 years ago

Done here https://github.com/peppelinux/spid-cie-oidc-django/commit/3740b15ea76487d1392524090847c2fb8d61e7c0