requiresAuthentication property

  1. @JsonKey(name: 'requiresAuthentication')
bool? requiresAuthentication
final

A Boolean value that indicates whether the NFC pass requires authentication. The default value is false. A value of true requires the user to authenticate for each use of the NFC pass.

This key is valid in iOS 13.1 and later. Set sharingProhibited to true to prevent users from sharing passes with older iOS versions and bypassing the authentication requirement.

Implementation

@JsonKey(name: 'requiresAuthentication')
final bool? requiresAuthentication;