imaging_api.utils.auth
Attributes
Functions
|
Retrieves the XNAT authentication token and formats it into the appropriate headers for API requests. |
Module Contents
- imaging_api.utils.auth.xnat_token_factory
- imaging_api.utils.auth.get_xnat_auth_headers() dict[str, str]
Retrieves the XNAT authentication token and formats it into the appropriate headers for API requests.
- Returns:
A dictionary containing XNAT authentication headers.
- Return type:
dict[str, str]