Class SFAuthenticationSession

  • All Implemented Interfaces:
    NSObject

    @Deprecated
    public class SFAuthenticationSession
    extends NSObject
    Deprecated.
    API-Since: 11.0 Deprecated-Since: 12.0
    • Constructor Detail

      • SFAuthenticationSession

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
        Deprecated.
      • allocWithZone

        public static SFAuthenticationSession allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
        Deprecated.
      • automaticallyNotifiesObserversForKey

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

        public void cancel()
        Deprecated.
        Cancel an SFAuthenticationSession. If the view controller is already presented to load the webpage for authentication, it will be dismissed. Calling cancel on an already canceled session will have no effect.
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
        Deprecated.
      • 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)
        Deprecated.
      • classFallbacksForKeyedArchiver

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

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

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

        public static java.lang.String description_static()
        Deprecated.
      • hash_static

        public static long hash_static()
        Deprecated.
      • initWithURLCallbackURLSchemeCompletionHandler

        public SFAuthenticationSession initWithURLCallbackURLSchemeCompletionHandler​(@NotNull
                                                                                     @NotNull NSURL URL,
                                                                                     @Nullable
                                                                                     @Nullable java.lang.String callbackURLScheme,
                                                                                     @NotNull
                                                                                     @NotNull SFAuthenticationSession.Block_initWithURLCallbackURLSchemeCompletionHandler completionHandler)
        Deprecated.
        Returns a SFAuthenticationSession object.
        Parameters:
        URL - the initial URL pointing to the authentication webpage. Only supports URLs with http:// or https:// schemes.
        callbackURLScheme - the custom URL scheme that the app expects in the callback URL.
        completionHandler - the completion handler which is called when the session is completed successfully or canceled by user.
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
        Deprecated.
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
        Deprecated.
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
        Deprecated.
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
        Deprecated.
      • resolveClassMethod

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

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

        public static void setVersion_static​(long aVersion)
        Deprecated.
      • start

        public boolean start()
        Deprecated.
        Starts the SFAuthenticationSession instance after it is instantiated. start can only be called once for an SFAuthenticationSession instance. This also means calling start on a canceled session will fail.
        Returns:
        Returns YES if the session starts successfully.
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
        Deprecated.
      • version_static

        public static long version_static()
        Deprecated.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.