Class ASAccountAuthenticationModificationExtensionContext

  • All Implemented Interfaces:
    NSObject

    public class ASAccountAuthenticationModificationExtensionContext
    extends NSExtensionContext
    API-Since: 14.0
    • Constructor Detail

      • ASAccountAuthenticationModificationExtensionContext

        protected ASAccountAuthenticationModificationExtensionContext​(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)
        Used to either ask for user interaction in a request or to fail a request.
        Overrides:
        cancelRequestWithError in class NSExtensionContext
      • classFallbacksForKeyedArchiver

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

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

        public void completeChangePasswordRequestWithUpdatedCredentialUserInfo​(@NotNull
                                                                               @NotNull ASPasswordCredential updatedCredential,
                                                                               @Nullable
                                                                               @Nullable NSDictionary<?,​?> userInfo)
        Confirms successful completion of a strong password upgrade.
        Parameters:
        updatedCredential - contains the account username and new password.
        userInfo - For upgrades invoked within the extension's containing app, any information the extension wants to pass back to the app.
      • completeUpgradeToSignInWithAppleWithUserInfo

        public void completeUpgradeToSignInWithAppleWithUserInfo​(@Nullable
                                                                 @Nullable NSDictionary<?,​?> userInfo)
        Confirms successful completion of a Sign in with Apple upgrade. Once a Sign in with Apple upgrade is completed, the system will delete the password-based credential from the Keychain, if it is saved there.
        Parameters:
        userInfo - For upgrades invoked within the extension's containing app, any information the extension wants to pass back to the app.
      • debugDescription_static

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

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

        public void getSignInWithAppleUpgradeAuthorizationWithStateNonceCompletionHandler​(@Nullable
                                                                                          @Nullable java.lang.String state,
                                                                                          @Nullable
                                                                                          @Nullable java.lang.String nonce,
                                                                                          @NotNull
                                                                                          @NotNull ASAccountAuthenticationModificationExtensionContext.Block_getSignInWithAppleUpgradeAuthorizationWithStateNonceCompletionHandler completionHandler)
        Retrieves a Sign in with Apple credential from the system. Calling this method will cause the system Sign in with Apple upgrade sheet to appear. If extension UI is showing when this method is called, the extension UI will be dismissed before the sheet is presented.
        Parameters:
        state - Can be specified to enhance security. State is returned in the ASAuthorizationAppleIDCredential.
        nonce - Can be specified to enhance security. The returned identityToken on the ASAuthorizationAppleIDCredential can be exchanged with the server for the nonce.
      • 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.