method
App.AuthenticateExternal
Run configured request strategies and return the recognized actor.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
headers | map[string][]string | The headers value. |
Returns
The declared result.
(store.Document, error)How it works
Use AuthenticateExternalIdentity when the exact auth collection is required.
Full signature
func (application *App) AuthenticateExternal(
ctx context.Context,
headers map[string][]string,
) (store.Document, error)