method

App.AuthenticateExternalIdentity

func (application *App) AuthenticateExternalIdentity( ctx context.Context, headers map[string][]string, ) (AuthIdentity, error)

Run compiled external strategies in declaration order.

Source core/auth.go:745

@param ctx
The ctx value.
@param headers
The headers value.
@returns
The declared result.

Strategies must return NotApplicable to continue; malformed or rejected credentials fail closed.

Related types

  • App

    A resolved application bound to operation services.

  • AuthIdentity

    An exact authenticated collection and actor document.