9 lines
347 B
Python
9 lines
347 B
Python
from fastapi.security import APIKeyHeader
|
|
|
|
api_key_header_scheme = APIKeyHeader(
|
|
name='X-DumpThings-Token',
|
|
# authentication is generally optional
|
|
auto_error=False,
|
|
scheme_name='submission',
|
|
description='Presenting a valid token enables record submission, and retrieval of records submitted with this token prior curation.',
|
|
)
|