Skip to content

Commit

Permalink
Added the trust mark endpoints.
Browse files Browse the repository at this point in the history
  • Loading branch information
rohe committed Apr 19, 2024
1 parent fc236ab commit dabe9cd
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions setup_federation/trust_mark_issuer/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,23 @@ def handle_bad_request(e):
return 'bad request!', 400


@entity.route('/trust_mark')
def trust_mark():
_endpoint = current_app.federation_entity.get_endpoint('trust_mark')
return service_endpoint(_endpoint)


@entity.route('/trust_mark_status')
def trust_mark_status():
_endpoint = current_app.federation_entity.get_endpoint('trust_mark_status')
return service_endpoint(_endpoint)


@entity.route('/trust_mark_list')
def trust_mark_list():
_endpoint = current_app.federation_entity.get_endpoint('trust_mark_list')
return service_endpoint(_endpoint)

@entity.route('/.well-known/openid-federation')
def wkof():
_entity = current_app.server
Expand Down

0 comments on commit dabe9cd

Please sign in to comment.