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.

sspiauth_windows.go 330B

12345678910111213141516171819
  1. // Copyright 2023 The Gitea Authors. All rights reserved.
  2. // SPDX-License-Identifier: MIT
  3. //go:build windows
  4. package auth
  5. import (
  6. "github.com/quasoft/websspi"
  7. )
  8. type SSPIUserInfo = websspi.UserInfo
  9. func sspiAuthInit() error {
  10. var err error
  11. config := websspi.NewConfig()
  12. sspiAuth, err = websspi.New(config)
  13. return err
  14. }