Skip to content

Commit c6d54a0

Browse files
committed
COPDS-2702: API Token -> API key
1 parent 2839a35 commit c6d54a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cads_processing_api_service/auth.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def get_auth_header(pat: str | None = None, jwt: str | None = None) -> tuple[str
4040
Parameters
4141
----------
4242
pat : str | None, optional
43-
API Token
43+
API key
4444
jwt : str | None, optional
4545
JSON Web Token
4646
@@ -126,7 +126,7 @@ def authenticate_user(
126126

127127
def get_auth_info(
128128
pat: str | None = fastapi.Header(
129-
None, description="API Token.", alias="PRIVATE-TOKEN"
129+
None, description="API key.", alias="PRIVATE-TOKEN"
130130
),
131131
jwt: str | None = fastapi.Header(
132132
None,
@@ -143,7 +143,7 @@ def get_auth_info(
143143
Parameters
144144
----------
145145
pat : str | None, optional
146-
API Token
146+
API key
147147
jwt : str | None, optional
148148
JSON Web Token
149149
portal_header : str | None, optional

0 commit comments

Comments
 (0)