Skip to main content
Version: Next

OAuthAdapter.fromConfig()

Home > @backstage/plugin-auth-backend > OAuthAdapter > fromConfig

Signature:

static fromConfig(config: AuthProviderConfig, handlers: OAuthHandlers, options: Pick<OAuthAdapterOptions, 'providerId' | 'persistScopes' | 'callbackUrl'>): OAuthAdapter;

Parameters

Parameter

Type

Description

config

AuthProviderConfig

handlers

OAuthHandlers

options

Pick<OAuthAdapterOptions, 'providerId' | 'persistScopes' | 'callbackUrl'>

**Returns:**

OAuthAdapter