Contents

authorizationStatus(for:)

Returns an authorization status that indicates whether a person permitted the app to request evaluations for the given context.

Declaration

final nonisolated(nonsending) func authorizationStatus<each I>(for context: InsightEvaluator.InsightContext<repeat each I>) async throws -> InsightEvaluator.AuthorizationStatus where repeat each I : InsightEvaluator.InsightRequestProtocol

Parameters

Return Value

An InsightEvaluator.AuthorizationStatus that indicates whether someone authorized the app to request evaluations.

Discussion

See Also

Obtaining permission or checking authorization to perform evaluations