Skip to content

Commit 2f66fa9

Browse files
Update src/py/flwr/common/auth_plugin/auth_plugin.py
Co-authored-by: Heng Pan <[email protected]>
1 parent a8a66b7 commit 2f66fa9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/py/flwr/common/auth_plugin/auth_plugin.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ def get_login_response(self) -> LoginResponse:
4141
"""Send relevant login details as a LoginResponse."""
4242

4343
@abstractmethod
44-
def validate_token_in_metadata(
44+
def validate_tokens_in_metadata(
4545
self, metadata: Sequence[tuple[str, Union[str, bytes]]]
4646
) -> bool:
47-
"""Authenticate auth tokens in the provided metadata."""
47+
"""Validate the auth tokens in the provided metadata."""
4848

4949
@abstractmethod
5050
def get_auth_token_response(

0 commit comments

Comments
 (0)