MCPcopy
hub / github.com/pocketbase/pocketbase / SetProvider

Method SetProvider

core/external_auth_model.go:97–99  ·  view source on GitHub ↗

SetProvider updates the "provider" record field value.

(provider string)

Source from the content-addressed store, hash-verified

95
96// SetProvider updates the "provider" record field value.
97func (m *ExternalAuth) SetProvider(provider string) {
98 m.Set("provider", provider)
99}
100
101// Provider returns the "providerId" record field value.
102func (m *ExternalAuth) ProviderId() string {

Callers 5

TestExternalAuthProviderFunction · 0.95
TestRecordAuthWithOAuth2Function · 0.95
oauth2SubmitFunction · 0.80

Calls 1

SetMethod · 0.65

Tested by 4

TestExternalAuthProviderFunction · 0.76
TestRecordAuthWithOAuth2Function · 0.76