Class LAAuthenticationRequirement

  • All Implemented Interfaces:
    NSObject

    public class LAAuthenticationRequirement
    extends NSObject
    Builds requirements that can be used for protecting a @c LARight API-Since: 16.0
    • Constructor Detail

      • LAAuthenticationRequirement

        protected LAAuthenticationRequirement​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • biometryCurrentSetRequirement

        @NotNull
        public static @NotNull LAAuthenticationRequirement biometryCurrentSetRequirement()
        Requires user authentication with the current biometric set The authorization will fail if: [@li] • Biometry is not available in the current device [@li] • There are no biometric enrollments [@li] • There is a change in the enrollment database -e.g a new TouchID finger is enrolled.
        Returns:
      • biometryRequirement

        @NotNull
        public static @NotNull LAAuthenticationRequirement biometryRequirement()
        Requires biometric authentication The authorization will fail if: [@li] • Biometry is not available in the current device [@li] • There are no biometric enrollments
        Returns:
      • biometryRequirementWithFallback

        @NotNull
        public static @NotNull LAAuthenticationRequirement biometryRequirementWithFallback​(@NotNull
                                                                                           @NotNull LABiometryFallbackRequirement fallback)
        Requires biometric authentication or the given fallback method.
        Parameters:
        fallback - Fallback used in case biometry authentication fails, is not available or not preferred by the user.
        Returns:
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • defaultRequirement

        @NotNull
        public static @NotNull LAAuthenticationRequirement defaultRequirement()
        Requires user authentication
        Returns:
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.