You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(storage-api-client): use constants for authType values
Replace plain strings with AUTH_TYPE_STORAGE_TOKEN and AUTH_TYPE_BEARER
constants as requested in PR review.
Co-Authored-By: Tomáš Fejfar <tomas.fejfar@keboola.com>
publicconstERROR_CANNOT_DOWNLOAD_FILE = 'Cannot download file "%s" (ID %s) from Storage, please verify the contents of the file and that the file has not expired.';
71
75
72
76
// Token string
73
77
public$token;
74
78
75
-
// Authentication type: 'storage-token' (default) or 'bearer'
76
-
privatestring$authType = 'storage-token';
79
+
// Authentication type: AUTH_TYPE_STORAGE_TOKEN (default) or AUTH_TYPE_BEARER
0 commit comments