nvflare.private.fed.server.site_security module

class SiteSecurity[source]

Bases: object

SiteSecurity is the function is to check if the command is authorized to execute. SiteSecurity use the FLContext data to perform the authorization security check. Based on the check result, set the AUTHORIZATION_RESULT and AUTHORIZATION_REASON accordingly.

authorization_check(engine, command, fl_ctx: FLContext)[source]