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