SwiftstructIntelligenceFlowRuntime
DeviceAuthenticationStateCalculator
struct IntelligenceFlowRuntime.DeviceAuthenticationStateCalculator
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
Members 5
- field
let authenticationLogic: IntelligenceFlowPlannerRuntime.AuthenticationRuleEngine - field
let deviceState: IntelligenceFlowPlannerSupport.DeviceUnlockStateProviding - func
calculate(latestSiriRequestContext: IntelligenceFlowShared.StructuredContext.SiriRequestContext?) async -> IntelligenceFlowShared.DeviceAuthenticationState - func
isPermitted(policy: AppIntents.IntentAuthenticationPolicy, latestSiriRequestContext: IntelligenceFlowShared.StructuredContext.SiriRequestContext?) async -> Bool - init
init(deviceState: IntelligenceFlowPlannerSupport.DeviceUnlockStateProviding) -> IntelligenceFlowRuntime.DeviceAuthenticationStateCalculator
Header
struct DeviceAuthenticationStateCalculator { let deviceState: any IntelligenceFlowPlannerSupport.DeviceUnlockStateProviding let authenticationLogic: IntelligenceFlowPlannerRuntime.AuthenticationRuleEngine init(deviceState: any IntelligenceFlowPlannerSupport.DeviceUnlockStateProviding) func isPermitted(policy: AppIntents.IntentAuthenticationPolicy, latestSiriRequestContext: IntelligenceFlowShared.StructuredContext.SiriRequestContext?) async -> Swift.Bool func calculate(latestSiriRequestContext: IntelligenceFlowShared.StructuredContext.SiriRequestContext?) async -> IntelligenceFlowShared.DeviceAuthenticationState }