Add simple BasicFile authentication handler (Read token from a file )
Type of change
-
Bug Fix -
Feature
Does this introduce a change in the core logic?
- [Yes]
Does this introduce a change in the cloud provider implementation, if so which cloud?
-
AWS -
Azure -
GCP -
IBM
Updates description?
Simple authentication handler (can be used in any environment).
To enable: Create environment variable AUTHENTICATION_PLUGIN_FILE with full path to the segysdk.auth_plugin.BasicFile.dll file
The plugin will read the token string from a file in the local file system, specified in the environment variable SEGYSDK_BASIC_FILE_TOKEN_PATH.
If another service process will periodically update the file pointed to by SEGYSDK_BASIC_FILE_TOKEN_PATH with a fresh token, this fresh token will be picked up on the next getToken() request.
Edited by Erik Dahl