MCPcopy
hub / github.com/supabase/auth / Now

Method Now

internal/api/api.go:70–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68}
69
70func (a *API) Now() time.Time {
71 if a.overrideTime != nil {
72 return a.overrideTime()
73 }
74
75 return time.Now()
76}
77
78// NewAPI instantiates a new REST API
79func NewAPI(globalConfig *conf.GlobalConfiguration, db *storage.Connection, opt ...Option) *API {

Callers 15

web3GrantSolanaMethod · 0.95
web3GrantEthereumMethod · 0.95
TestReloadCheckAtFunction · 0.80
helpTestDirFunction · 0.80
pollMethod · 0.80
watchReloadsMethod · 0.80
loopMethod · 0.80
TestNormalUseMethod · 0.80
TestMaliciousReuseMethod · 0.80
TestConcurrentReuseMethod · 0.80

Calls

no outgoing calls

Tested by 15

TestReloadCheckAtFunction · 0.64
helpTestDirFunction · 0.64
TestNormalUseMethod · 0.64
TestMaliciousReuseMethod · 0.64
TestConcurrentReuseMethod · 0.64
TestFailToSaveReuseMethod · 0.64
TestDBEncryptionMethod · 0.64
TestAMRClaimUnmarshalFunction · 0.64