Skip to main content

Function: getCurrentAgent()

getCurrentAgent(): null | Agent

Defined in: web/lib/auth/oauth-client.ts:149

Get the current ATProto Agent.

Returns

null | Agent

Remarks

The agent can be used to make authenticated requests to the user's PDS.