You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

assert_interface_test.go 546B

12345678910111213141516171819
  1. // Copyright 2021 The Gitea Authors. All rights reserved.
  2. // Use of this source code is governed by a MIT-style
  3. // license that can be found in the LICENSE file.
  4. package sspi_test
  5. import (
  6. "code.gitea.io/gitea/models/auth"
  7. "code.gitea.io/gitea/services/auth/source/sspi"
  8. )
  9. // This test file exists to assert that our Source exposes the interfaces that we expect
  10. // It tightly binds the interfaces and implementation without breaking go import cycles
  11. type sourceInterface interface {
  12. auth.Config
  13. }
  14. var _ (sourceInterface) = &sspi.Source{}