method

App.AuthenticateExternalIdentity

Run compiled external strategies in declaration order.

Arguments

ArgumentTypeDescription
ctxcontext.ContextThe ctx value.
headersmap[string][]stringThe 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)

Source core/auth.go:734

Related types

  • App

    A resolved application bound to operation services.

  • AuthIdentity

    An exact authenticated collection and actor document.