UrlSource
class UrlSource implements ExternalAccountCredentialSourceInterface (View source)
Retrieve a token from a URL.
Methods
__construct(string $url, string|null $format = null, string|null $subjectTokenFieldName = null, array|null $headers = null)
No description
string
fetchSubjectToken(callable|null $httpHandler = null)
No description
string|null
getCacheKey()
Get the cache key for the credentials.
Details
__construct(string $url, string|null $format = null, string|null $subjectTokenFieldName = null, array|null $headers = null)
No description
string
fetchSubjectToken(callable|null $httpHandler = null)
No description
string|null
getCacheKey()
Get the cache key for the credentials.
The format for the cache key is: URL