Documentation
¶
Overview ¶
Package main demonstrates how to use coreauth.Manager.HttpRequest/NewHttpRequest to execute arbitrary HTTP requests with provider credentials injected.
This example registers a minimal custom executor that injects an Authorization header from auth.Attributes["api_key"], then performs two requests against httpbin.org to show the injected headers.
Click to show internal directories.
Click to hide internal directories.