SwiftenumIntelligenceFlowShared

enum IntelligenceFlowShared.DeviceAuthenticationState

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 6

  1. casecase originDeviceLocked
  2. casecase originDeviceLockedWithAlternateAuthentication(IntelligenceFlowShared.AlternateAuthenticationMethods)
  3. casecase originDeviceUnlocked
  4. funcisPermitted(policy: AppIntents.IntentAuthenticationPolicy) -> Bool
  5. funcisPermitted(policy: ToolKit.ToolAuthenticationPolicy) -> Bool
  6. varvar description: String { get }
enum DeviceAuthenticationState {
    case originDeviceLockedWithAlternateAuthentication(IntelligenceFlowShared.AlternateAuthenticationMethods)
    case originDeviceUnlocked
    case originDeviceLocked

    var description: Swift.String {
        get
    }

    func isPermitted(policy: AppIntents.IntentAuthenticationPolicy) -> Swift.Bool
    func isPermitted(policy: ToolKit.ToolAuthenticationPolicy) -> Swift.Bool
}