method
App.AuthenticateAPIKey
Resolve a bearer API key to its current user without creating a browser session.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
raw | string | The raw value. |
Returns
The declared result.
(store.Document, error)Full signature
func (application *App) AuthenticateAPIKey(
ctx context.Context,
raw string,
) (store.Document, error)