Skip to content

Documentation / @agentick/server / validateAuth

Function: validateAuth() ​

validateAuth(token, config): Promise<AuthResult>

Defined in: server/src/auth.ts:64

Validate an auth token against the configured auth method.

Parameters ​

token ​

string | undefined

config ​

AuthConfig | undefined

Returns ​

Promise<AuthResult>

Released under the ISC License.