AuthRule
public struct AuthRule
extension AuthRule: Hashable
Warning
Although this haspublic access, it is intended for internal use and should not be used directly
by host applications. The behavior of this may change without warning.
-
Declaration
Swift
public let allow: AuthStrategy -
Declaration
Swift
public let ownerField: String? -
Declaration
Swift
public let identityClaim: String? -
Declaration
Swift
public let groupClaim: String? -
Declaration
Swift
public let groups: [String] -
Declaration
Swift
public let groupsField: String? -
Declaration
Swift
public let operations: [ModelOperation] -
Declaration
Swift
public let provider: AuthRuleProvider? -
Declaration
Swift
public init( allow: AuthStrategy, ownerField: String? = nil, identityClaim: String? = nil, groupClaim: String? = nil, groups: [String] = [], groupsField: String? = nil, provider: AuthRuleProvider? = nil, operations: [ModelOperation] = [] )
View on GitHub