Class ASCredentialProviderExtensionContext

  • All Implemented Interfaces:
    NSObject

    public class ASCredentialProviderExtensionContext
    extends NSExtensionContext
    API-Since: 12.0
    • Constructor Detail

      • ASCredentialProviderExtensionContext

        protected ASCredentialProviderExtensionContext​(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)
      • cancelRequestWithError

        public void cancelRequestWithError​(@NotNull
                                           @NotNull NSError error)
        Cancels the request. The extension should call this method when the user cancels the action or a failure occurs.
        Overrides:
        cancelRequestWithError in class NSExtensionContext
        Parameters:
        error - error's domain should be ASExtensionErrorDomain and the code should be a value of type ASExtensionErrorCode.
      • classFallbacksForKeyedArchiver

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

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

        public void completeExtensionConfigurationRequest()
        Complete the request to configure the extension. Calling this method will eventually dismiss the associated view controller.
      • completeRequestWithSelectedCredentialCompletionHandler

        public void completeRequestWithSelectedCredentialCompletionHandler​(@NotNull
                                                                           @NotNull ASPasswordCredential credential,
                                                                           @Nullable
                                                                           @Nullable ASCredentialProviderExtensionContext.Block_completeRequestWithSelectedCredentialCompletionHandler completionHandler)
        Complete the request by providing the user selected credential. Calling this method will eventually dismiss the associated view controller.
        Parameters:
        credential - the credential that the user has selected.
        completionHandler - optionally contains any work which the extension may need to perform after the request has been completed, as a background-priority task. The `expired` parameter will be YES if the system decides to prematurely terminate a previous non-expiration invocation of the completionHandler.
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • 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()
      • completeAssertionRequestWithSelectedPasskeyCredentialCompletionHandler

        public void completeAssertionRequestWithSelectedPasskeyCredentialCompletionHandler​(@NotNull
                                                                                           @NotNull ASPasskeyAssertionCredential credential,
                                                                                           @Nullable
                                                                                           @Nullable ASCredentialProviderExtensionContext.Block_completeAssertionRequestWithSelectedPasskeyCredentialCompletionHandler completionHandler)
        Complete the assertion request by providing the user selected passkey credential. Calling this method will eventually dismiss the associated view controller. API-Since: 17.0
        Parameters:
        credential - the credential that the user has selected. Includes assertion response.
        completionHandler - optionally contains any work which the extension may need to perform after the request has been completed, as a background-priority task. The `expired` parameter will be YES if the system decides to prematurely terminate a previous non-expiration invocation of the completionHandler.
      • completeRegistrationRequestWithSelectedPasskeyCredentialCompletionHandler

        public void completeRegistrationRequestWithSelectedPasskeyCredentialCompletionHandler​(@NotNull
                                                                                              @NotNull ASPasskeyRegistrationCredential credential,
                                                                                              @Nullable
                                                                                              @Nullable ASCredentialProviderExtensionContext.Block_completeRegistrationRequestWithSelectedPasskeyCredentialCompletionHandler completionHandler)
        Complete the registration request by providing the newly created passkey credential. Calling this method will eventually dismiss the associated view controller. API-Since: 17.0
        Parameters:
        credential - the credential that was created in response to the registration request.
        completionHandler - optionally contains any work which the extension may need to perform after the request has been completed, as a background-priority task. The `expired` parameter will be YES if the system decides to prematurely terminate a previous non-expiration invocation of the completionHandler.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.