MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / TokenAuth

Method TokenAuth

pkg/setting/provider.go:60–60  ·  view source on GitHub ↗

TokenAuth returns token based auth related settings.

(ctx context.Context)

Source from the content-addressed store, hash-verified

58 ResetEmailTemplate(ctx context.Context) []EmailTemplate
59 // TokenAuth returns token based auth related settings.
60 TokenAuth(ctx context.Context) *TokenAuth
61 // HashIDSalt returns the salt used for hash ID generation.
62 HashIDSalt(ctx context.Context) string
63 // DBFS returns the DBFS related settings.

Callers 6

CurrentUserFunction · 0.65
IssueTokenFunction · 0.65
RefreshMethod · 0.65
DeleteMethod · 0.65
ExchangeMethod · 0.65
IssueMethod · 0.65

Implementers 1

settingProviderpkg/setting/provider.go

Calls

no outgoing calls

Tested by

no test coverage detected