blob: 52046ee4d1d378ea4339ae3e5ad681ec9757df0c [file] [log] [blame]
package server
import (
"veyron.io/veyron/veyron2/security"
)
type authorizer struct {
authFunc remoteAuthFunc
}
func (a *authorizer) Authorize(ctx security.Context) error {
return a.authFunc(ctx)
}