Copied!

Retrieve a token from a file.

CloneableInstantiable
Methods
public __construct(string $file, ?string $format = NULL, ?string $subjectTokenFieldName = NULL)
 
  • param string $file The file to read the subject token from.
  • param string|null $format The format of the token in the file. Can be null or "json".
  • param string|null $subjectTokenFieldName The name of the field containing the token in the file. This is required when format is "json".
public fetchSubjectToken(?callable $httpHandler = NULL) : string
public getCacheKey() : ?string
 

Gets the unique key for caching.

The format for the cache key one of the following: Filename

  • return string
Properties
private string $file
private ?string $format
private ?string $subjectTokenFieldName
© 2025 Bruce Wells
Search Namespaces \ Classes
Configuration