Constructor
new UrlSubjectTokenSupplier(opts)
Instantiates a URL subject token supplier.
Parameters:
Name | Type | Description |
---|---|---|
opts |
The URL subject token supplier options to build the supplier with. |
Methods
(async) getSubjectToken(context)
Sends a GET request to the URL provided in the constructor and resolves with the returned external subject token.
Parameters:
Name | Type | Description |
---|---|---|
context |
ExternalAccountSupplierContext from the calling IdentityPoolClient, contains the requested audience and subject token type for the external account identity. Not used. |