FileSource
class FileSource implements ExternalAccountCredentialSourceInterface (View source)
Retrieve a token from a file.
Methods
__construct(string $file, string $format = null, string $subjectTokenFieldName = null)
No description
string
fetchSubjectToken(callable $httpHandler = null)
No description
string|null
getCacheKey()
Gets the unique key for caching.
Details
__construct(string $file, string $format = null, string $subjectTokenFieldName = null)
No description
string
fetchSubjectToken(callable $httpHandler = null)
No description
string|null
getCacheKey()
Gets the unique key for caching.
The format for the cache key one of the following: Filename