// Validate checks the field values on LoginCallbackRequest with the rules
// defined in the proto definition for this message. If any rules are
// violated, an error is returned.
Validate checks the field values on LoginCallbackRequest with the rules
defined in the proto definition for this message. If any rules are
violated, an error is returned.
// Validate checks the field values on LoginCallbackRequest with the rules // defined in the proto definition for this message . If any rules are // violated an error is returned .
func (m *LoginCallbackRequest) Validate() error {
	if m == nil {
		return nil
	}
	if utf8.RuneCountInString(m.GetState()) < 3 {
		return LoginCallbackRequestValidationError{
			field:  "State",
			reason: "value length must be at least 3 runes",
		}
	}
	if utf8.RuneCountInString(m.GetCode()) < 3 {
		return LoginCallbackRequestValidationError{
			field:  "Code",
			reason: "value length must be at least 3 runes",
		}
	}
	return nil
}
func ( m * LoginCallbackRequest ) Validate ( ) error { if m == nil { return nil } if utf8 . RuneCountInString ( m . GetState ( ) ) < 3 { return LoginCallbackRequestValidationError { field : " " , reason : " " , } } if utf8 . RuneCountInString ( m . GetCode ( ) ) < 3 { return LoginCallbackRequestValidationError { field : " " , reason : " " , } } return nil }
Validate checks the field values on LoginCallbackRequest with the rules
defined in the proto definition for this message.
Validate checks the field values on LoginCallbackRequest with the rules defined in the proto definition for this message .