MCPcopy Create free account
hub / github.com/daodst/chat / GetDeviceByAccessToken

Method GetDeviceByAccessToken

clientapi/auth/auth.go:38–38  ·  view source on GitHub ↗

Look up the device matching the given access token.

(ctx context.Context, token string)

Source from the content-addressed store, hash-verified

36type DeviceDatabase interface {
37 // Look up the device matching the given access token.
38 GetDeviceByAccessToken(ctx context.Context, token string) (*api.Device, error)
39}
40
41// AccountDatabase represents an account database.

Callers 1

QueryAccessTokenMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected