Class ASCredentialIdentityStore

  • All Implemented Interfaces:
    NSObject

    public class ASCredentialIdentityStore
    extends NSObject
    • Constructor Detail

      • ASCredentialIdentityStore

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

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

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

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

        public static 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​(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

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • removeAllCredentialIdentitiesWithCompletion

        public void removeAllCredentialIdentitiesWithCompletion​(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

        public void removeCredentialIdentitiesCompletion​(NSArray<? extends ASPasswordCredentialIdentity> credentialIdentities,
                                                         ASCredentialIdentityStore.Block_removeCredentialIdentitiesCompletion 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.
        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

        public void replaceCredentialIdentitiesWithIdentitiesCompletion​(NSArray<? extends ASPasswordCredentialIdentity> newCredentialIdentities,
                                                                        ASCredentialIdentityStore.Block_replaceCredentialIdentitiesWithIdentitiesCompletion 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.
        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

        public void saveCredentialIdentitiesCompletion​(NSArray<? extends ASPasswordCredentialIdentity> credentialIdentities,
                                                       ASCredentialIdentityStore.Block_saveCredentialIdentitiesCompletion 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.
        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()