Class ASCredentialIdentityStore

  • All Implemented Interfaces:
    NSObject

    public class ASCredentialIdentityStore
    extends NSObject
    API-Since: 12.0
    • Constructor Detail

      • ASCredentialIdentityStore

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • 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()
      • description_static

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

        public void getCredentialIdentityStoreStateWithCompletion​(@NotNull
                                                                  @NotNull ASCredentialIdentityStore.Block_getCredentialIdentityStoreStateWithCompletion completion)
        Get the state of the credential identity store. Call this method to find out the current state of the store before attempting to call other store methods. Use the provided ASCredentialIdentityStoreState to find out if the store is enabled and whether it supports incremental updates.
        Parameters:
        completion - completion handler to be called with the current state of the store.
      • 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)
      • removeAllCredentialIdentitiesWithCompletion

        public void removeAllCredentialIdentitiesWithCompletion​(@Nullable
                                                                @Nullable ASCredentialIdentityStore.Block_removeAllCredentialIdentitiesWithCompletion completion)
        Remove all existing credential identities from the store.
        Parameters:
        completion - optional completion handler to be called after removing all existing credential identities. If the operation fails, an error with domain ASCredentialIdentityStoreErrorDomain will be provided and none of the existing credential identities will be removed from the store.
      • removeCredentialIdentitiesCompletion

        @Deprecated
        public void removeCredentialIdentitiesCompletion​(@NotNull
                                                         @NotNull NSArray<? extends ASPasswordCredentialIdentity> credentialIdentities,
                                                         @Nullable
                                                         @Nullable ASCredentialIdentityStore.Block_removeCredentialIdentitiesCompletion completion)
        Deprecated.
        Remove the given credential identities from the store. Use this method only if the store supports incremental updates to remove previously added credentials to the store. API-Since: 12.0 Deprecated-Since: 17.0
        Parameters:
        credentialIdentities - array of ASPasswordCredentialIdentity objects to remove from the store.
        completion - optional completion handler to be called after removing the credential identities. If the operation fails, an error with domain ASCredentialIdentityStoreErrorDomain will be provided and none of the objects in credentialIdentities will be removed from the store.
      • replaceCredentialIdentitiesWithIdentitiesCompletion

        @Deprecated
        public void replaceCredentialIdentitiesWithIdentitiesCompletion​(@NotNull
                                                                        @NotNull NSArray<? extends ASPasswordCredentialIdentity> newCredentialIdentities,
                                                                        @Nullable
                                                                        @Nullable ASCredentialIdentityStore.Block_replaceCredentialIdentitiesWithIdentitiesCompletion completion)
        Deprecated.
        Replace existing credential identities with new credential identities. This method will delete all existing credential identities that are persisted in the store and replace them with the provided array of credential identities. If the operation fails, an error with domain ASCredentialIdentityStoreErrorDomain will be provided and none of the new credential identities will be saved. API-Since: 12.0 Deprecated-Since: 17.0
        Parameters:
        newCredentialIdentities - array of new credential identity objects to replace the old ones.
        completion - an optional completion block to be called after the operation is finished.
      • resolveClassMethod

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

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

        @Deprecated
        public void saveCredentialIdentitiesCompletion​(@NotNull
                                                       @NotNull NSArray<? extends ASPasswordCredentialIdentity> credentialIdentities,
                                                       @Nullable
                                                       @Nullable ASCredentialIdentityStore.Block_saveCredentialIdentitiesCompletion completion)
        Deprecated.
        Save the given credential identities to the store. If the store supports incremental updates, call this method to add new credential identities since the last time the store was updated. Otherwise, call this method to pass all credential identities. If some credential identities in credentialIdentities already exist in the store, they will be replaced by those from credentialIdentities. API-Since: 12.0 Deprecated-Since: 17.0
        Parameters:
        credentialIdentities - array of ASPasswordCredentialIdentity objects to save to the store.
        completion - optional completion handler to be called after adding the credential identities. If the operation fails, an error with domain ASCredentialIdentityStoreErrorDomain will be provided and none of the objects in credentialIdentities will be saved to the store.
      • 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()
      • removeCredentialIdentityEntriesCompletion

        public void removeCredentialIdentityEntriesCompletion​(@NotNull
                                                              @NotNull NSArray<?> credentialIdentities,
                                                              @Nullable
                                                              @Nullable ASCredentialIdentityStore.Block_removeCredentialIdentityEntriesCompletion completion)
        Remove the given credential identities from the store. Use this method only if the store supports incremental updates to remove previously added credentials to the store. API-Since: 17.0
        Parameters:
        credentialIdentities - array of ASCredentialIdentity objects to remove from the store.
        completion - optional completion handler to be called after removing the credential identities. If the operation fails, an error with domain ASCredentialIdentityStoreErrorDomain will be provided and none of the objects in credentialIdentities will be removed from the store.
      • replaceCredentialIdentityEntriesCompletion

        public void replaceCredentialIdentityEntriesCompletion​(@NotNull
                                                               @NotNull NSArray<?> newCredentialIdentities,
                                                               @Nullable
                                                               @Nullable ASCredentialIdentityStore.Block_replaceCredentialIdentityEntriesCompletion completion)
        Replace existing credential identities with new credential identities. This method will delete all existing credential identities that are persisted in the store and replace them with the provided array of credential identities. If the operation fails, an error with domain ASCredentialIdentityStoreErrorDomain will be provided and none of the new credential identities will be saved. API-Since: 17.0
        Parameters:
        newCredentialIdentities - array of new credential identity objects to replace the old ones.
        completion - an optional completion block to be called after the operation is finished.
      • saveCredentialIdentityEntriesCompletion

        public void saveCredentialIdentityEntriesCompletion​(@NotNull
                                                            @NotNull NSArray<?> credentialIdentities,
                                                            @Nullable
                                                            @Nullable ASCredentialIdentityStore.Block_saveCredentialIdentityEntriesCompletion completion)
        Save the given credential identities to the store. If the store supports incremental updates, call this method to add new credential identities since the last time the store was updated. Otherwise, call this method to pass all credential identities. If some credential identities in credentialIdentities already exist in the store, they will be replaced by those from credentialIdentities. API-Since: 17.0
        Parameters:
        credentialIdentities - array of ASCredentialIdentity objects to save to the store.
        completion - optional completion handler to be called after adding the credential identities. If the operation fails, an error with domain ASCredentialIdentityStoreErrorDomain will be provided and none of the objects in credentialIdentities will be saved to the store.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.