type
AuthStrategyResult
type AuthStrategyResult struct {
Authenticated bool
UserID string
}Result of one custom authentication strategy.
Source core/auth_contract.go:86
Authenticatedbool- Reports whether this strategy recognized and authenticated the request.
UserIDstring- Identifies the matched user in the strategy’s auth collection.
An authenticated result must supply UserID. A false result means “not applicable,” allowing the next strategy to run.