oauth2/trust/validator.go
Method GrantValidator.Validate
has 6 return statements (exceeds 4 allowed). Open
Open
func (v *GrantValidator) Validate(request createGrantRequest) error {
if request.Issuer == "" {
return errorsx.WithStack(ErrMissingRequiredParameter.WithHint("Field 'issuer' is required."))
}