Skip to content

basalt / auth/src / oauthPlugin

Function: oauthPlugin() ​

> oauthPlugin(options): BasaltPlugin<unknown>

Defined in: auth/src/oauth-plugin.ts:19

Registers the OAuth service (token OAUTH). Pair it with oauthRoutes and register both AFTER authPlugin — the service resolves AUTH to log users in.

Parameters ​

options ​

OAuthPluginOptions

Returns ​

BasaltPlugin<unknown>

Released under the MIT License.