linotp.controllers.u2f module

U2F controller - interface to the list of valid facets

class linotp.controllers.u2f.U2FController(name, install_name='', **kwargs)

Bases: BaseController

This U2F controller can be used by the U2F clients to receive a list of valid facets for the specified realm:

valid_facets(realm=None)

GET, POST /u2f/valid_facets

Deprecated since version 3.2: Requests using HTTP POST method (because it is only reading data). This endpoint will only be available via HTTP GET method in the future.

Show the JSON output for the valid facets configured by the enrollment policy ‘u2f_valid_facets’. The form of the JSON output is specified by the FIDO Alliance.