Class ASAuthorizationProviderExtensionAuthorizationRequest

  • All Implemented Interfaces:
    NSObject

    public class ASAuthorizationProviderExtensionAuthorizationRequest
    extends NSObject
    API-Since: 13.0
    • Constructor Detail

      • ASAuthorizationProviderExtensionAuthorizationRequest

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • authorizationOptions

        @NotNull
        public @NotNull NSDictionary<?,​?> authorizationOptions()
        Authorization options.
      • automaticallyNotifiesObserversForKey

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

        @NotNull
        public @NotNull java.lang.String callerBundleIdentifier()
        Identification of the calling application.
      • cancel

        public void cancel()
        Call when authorization needs to be canceled from some reason (for example user pressed Cancel button).
      • 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()
      • complete

        public void complete()
        Call when authorization succeeded without any output.
      • completeWithError

        public void completeWithError​(@NotNull
                                      @NotNull NSError error)
        Call when authorization failed with an error.
      • completeWithHTTPAuthorizationHeaders

        public void completeWithHTTPAuthorizationHeaders​(@NotNull
                                                         @NotNull NSDictionary<java.lang.String,​java.lang.String> httpAuthorizationHeaders)
        Call when authorization succeeded with an authorization tokens stored in HTTP headers.
      • completeWithHTTPResponseHttpBody

        public void completeWithHTTPResponseHttpBody​(@NotNull
                                                     @NotNull NSHTTPURLResponse httpResponse,
                                                     @Nullable
                                                     @Nullable NSData httpBody)
        Call when authorization succeeded with a HTTP response.
      • debugDescription_static

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

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

        public void doNotHandle()
        Call when authorization was not handled.
      • extensionData

        @NotNull
        public @NotNull NSDictionary<?,​?> extensionData()
        Extension data from extension configuration provided by MDM stored as a property-list.
      • hash_static

        public static long hash_static()
      • httpBody

        @NotNull
        public @NotNull NSData httpBody()
        Request body.
      • httpHeaders

        @NotNull
        public @NotNull NSDictionary<java.lang.String,​java.lang.String> httpHeaders()
        Request HTTP headers.
      • 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)
      • realm

        @NotNull
        public @NotNull java.lang.String realm()
        Realm.
      • requestedOperation

        @NotNull
        public @NotNull java.lang.String requestedOperation()
        Operation to be executed by the extension.
      • 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()
      • url

        @NotNull
        public @NotNull NSURL url()
        Request URL with all components.
      • version_static

        public static long version_static()
      • callerTeamIdentifier

        @NotNull
        public @NotNull java.lang.String callerTeamIdentifier()
        Team identifier of the calling application. API-Since: 14.0
      • isCallerManaged

        public boolean isCallerManaged()
        Indicates whether the calling application is managed. API-Since: 14.0
      • localizedCallerDisplayName

        @NotNull
        public @NotNull java.lang.String localizedCallerDisplayName()
        Localized display name of the calling application. API-Since: 14.0
      • completeWithAuthorizationResult

        public void completeWithAuthorizationResult​(@NotNull
                                                    @NotNull ASAuthorizationProviderExtensionAuthorizationResult authorizationResult)
        Call when authorization succeeded with @see ASAuthorizationProviderExtensionAuthorizationResult. API-Since: 15.0
      • isUserInterfaceEnabled

        public boolean isUserInterfaceEnabled()
        Indicates whether the authorization user interface is enabled. If user interface is not enabled, then the authorization will fail with @see ASAuthorizationErrorNotInteractive if it attempts to display the authorization user interface via @see presentAuthorizationViewControllerWithCompletion. API-Since: 15.4
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.