method
App.AuthenticateExternalIdentity
Run compiled external strategies in declaration order.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
headers | map[string][]string | The headers value. |
Returns
The declared result.
(AuthIdentity, error)How it works
Strategies must return NotApplicable to continue; malformed or rejected credentials fail closed.
Full signature
func (application *App) AuthenticateExternalIdentity(
ctx context.Context,
headers map[string][]string,
) (AuthIdentity, error)Related types
AppA resolved application bound to operation services.
AuthIdentityAn exact authenticated collection and actor document.