Expand description
Credentials, credential sources and the iCloud host allowlist.
Structs§
- Credentials
- An Apple ID and its app-specific password.
- EnvSource
- Process environment variables
IBRIDGE_APPLE_IDandIBRIDGE_APP_PASSWORD. - File
Source - A
KEY=VALUEfile that must be mode0600. - Keyring
Source - OS keychain entry under the service name
ibridge. - Login
Log - What iCloud said to the logins one call made.
- Validation
Report - Per-service results for one sign-in attempt.
Enums§
- Auth
Error - Why a service was not accepted.
- Auth
Method - How a caller proves it may use an iCloud account.
- Login
Verdict - What a server said to a login.
- Service
Check - Result of checking one iCloud service.
Traits§
- Credential
Source - Loads credentials for one account.
- Validator
- Checks mail, calendar and contacts for a sign-in.
Functions§
- call_
credentials - Passes the current call’s credentials to
read. - is_
allowed_ host - Returns whether
hostis one of the six iCloud patterns. - report_
login - Notes the result of a login the current call made. Does nothing outside a call.
- with_
call_ credentials - Runs
workwithcredentialsvisible tocall_credentialsand logins noted inlog.