nvflare.fuel.sec.authn module¶
- add_authentication_headers(msg: Message, client_name: str, auth_token, token_signature, ssid=None)[source]¶
Add authentication headers to the specified message.
- Parameters:
msg – the message that the headers are added to
client_name – name of the client
auth_token – authentication token
token_signature – token signature
ssid – optional SSID
Returns:
- set_add_auth_headers_filters(cell: Cell, client_name: str, auth_token: str, token_signature: str, ssid=None)[source]¶
Set filters for adding auth headers.
- Parameters:
cell – the cell to add the filters to.
client_name – name of the client
auth_token – authentication token
token_signature – token signature
ssid – SSID, optional
Returns: None