Back to Pocketbase

Interface OAuth2Config

static/jsvm/interfaces/core.OAuth2Config.html

latest1.5 KB
Original Source

Interface OAuth2Config

Hierarchy

  • OAuth2Config

Index

Methods

getProviderConfigvalidate

Properties

enabledmappedFieldsproviders

Methods

getProviderConfig

GetProviderConfig returns the first OAuth2ProviderConfig that matches the specified name.

Returns false and zero config if no such provider is available in c.Providers.

Parameters

name: string

Returns [OAuth2ProviderConfig, boolean]

validate

  • validate(): void

Validate makes OAuth2Config validatable by implementing [validation.Validatable] interface.

Returns void

Properties

enabled

enabled: boolean

mappedFields

mappedFields: OAuth2KnownFields

providers

providers: OAuth2ProviderConfig[]

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

On This Page

Generated using TypeDoc