A function that provides a temporary authentication token.
The app/endpoint identifier
A promise that resolves to the token string
A function that provides a temporary authentication token.