method

App.AuthenticateExternal

Run configured request strategies and return the recognized actor.

Arguments

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

Source core/auth.go:727

Related types

  • App

    A resolved application bound to operation services.

  • Document

    A stored document with status and version metadata.