MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / AuthenticateWithReason

Method AuthenticateWithReason

auth/principal.go:95–95  ·  view source on GitHub ↗

AuthenticateWithReason is the same as Authenticate, except it provides the reason for failure.

(password string)

Source from the content-addressed store, hash-verified

93
94 // AuthenticateWithReason is the same as Authenticate, except it provides the reason for failure.
95 AuthenticateWithReason(password string) (bool, string)
96
97 // GetSessionUUID returns the UUID that a session to match to be a valid session.
98 GetSessionUUID() string

Callers 2

AuthenticateUserMethod · 0.65

Implementers 1

userImplauth/user.go

Calls

no outgoing calls

Tested by

no test coverage detected