func (g AuthGroup) UserCtx(ctx context.Context, username string) (*authdb.UserContext, error) {
	return g.loop(ctx, func(store authdb.UserStore) (*authdb.UserContext, error) {
		return store.UserCtx(ctx, username)
	})
}
// UserCtx loops through each of the auth handlers, in the order passed to New
// until the context is cancelled, in which case the context's error is returned.
// The first one to not return an error returns. If all of the handlers return
// a Not Found error, Not Found is returned. If any other errors are returned,
// the first is returned to the caller.
UserCtx loops through each of the auth handlers, in the order passed to New
until the context is cancelled, in which case the context's error is returned.
The first one to not return an error returns. If all of the handlers return
a Not Found error, Not Found is returned. If any other errors are returned,
the first is returned to the caller.
// UserCtx loops through each of the auth handlers in the order passed to New // until the context is cancelled in which case the context ' s error is returned . // The first one to not return an error returns . If all of the handlers return // a Not Found error Not Found is returned . If any other errors are returned // the first is returned to the caller .
func (g AuthGroup) UserCtx(ctx context.Context, username string) (*authdb.UserContext, error) {
	return g.loop(ctx, func(store authdb.UserStore) (*authdb.UserContext, error) {
		return store.UserCtx(ctx, username)
	})
}
func ( g AuthGroup ) UserCtx ( ctx context . Context , username string ) ( * authdb . UserContext , error ) { return g . loop ( ctx , func ( store authdb . UserStore ) ( * authdb . UserContext , error ) { return store . UserCtx ( ctx , username ) } ) }
UserCtx loops through each of the auth handlers, in the order passed to New
until the context is cancelled, in which case the context's error is returned.
UserCtx loops through each of the auth handlers in the order passed to New until the context is cancelled in which case the context ' s error is returned .