linotp.controllers.u2f module

U2F controller - interface to the list of valid facets

class linotp.controllers.u2f.U2FController(*args, **kw)[source]

Bases: linotp.lib.base.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)[source]

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.