-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstant.go
More file actions
28 lines (22 loc) · 777 Bytes
/
Copy pathconstant.go
File metadata and controls
28 lines (22 loc) · 777 Bytes
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
// Copyright 2021 The Go Darwin Authors
// SPDX-License-Identifier: BSD-3-Clause
package appleoauth
const (
ProtocolVersion = "QH5B2"
defaultUserAgent = "go-darwin/appleoauth"
)
const (
// EnvIcloudUserName is the environment variable for login username to Apple web service.
EnvIcloudUserName = "APPLE_USERNAME"
// EnvIcloudPassword is the environment variable for login password to Apple web service.
EnvIcloudPassword = "APPLE_PASSWORD"
Env2FASMSDefaultPhoneNumber = "APPLEOAUTH_2FA_SMS_DEFAULT_PHONE_NUMBER"
)
const (
HdrContentType = "Content-Type"
HdrXRequestedWith = "X-Requested-With"
HdrXAppleWidgetKey = "X-Apple-Widget-Key"
HdrAccept = "Accept"
HdrXAppleIDSessionID = "X-Apple-ID-Session-Id"
HdrScnt = "scnt"
)