-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathauthtype_stub.go
29 lines (22 loc) · 955 Bytes
/
authtype_stub.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// go-seckeychain - Native OS X Security.framework binding for Golang
// Copyright (c) 2015 Chaiwat Shuetrakoonpaiboon. All rights reserved.
//
// Use of this source code is governed by a MIT license that can be found in
// the LICENSE file.
// +build !darwin !cgo
package seckeychain
// See https://developer.apple.com/library/mac/documentation/Security/Reference/keychainservices/index.html for the APIs used below.
// Also see https://developer.apple.com/library/ios/documentation/Security/Conceptual/keychainServConcepts/01introduction/introduction.html .
type AuthenticationType int
// From http://www.opensource.apple.com/source/libsecurity_keychain/libsecurity_keychain-34101/lib/SecKeychain.h
const (
AuthenticationTypeNTLM = iota
AuthenticationTypeMSN
AuthenticationTypeDPA
AuthenticationTypeRPA
AuthenticationTypeHTTPBasic
AuthenticationTypeHTTPDigest
AuthenticationTypeHTMLForm
AuthenticationTypeDefault
AuthenticationTypeAny
)