Class ACAccountCredential

  • All Implemented Interfaces:
    NSObject

    @Deprecated
    public class ACAccountCredential
    extends NSObject
    Deprecated.
    An existing credential may be provided when creating an account. For example, to create a system Twitter account using an existing OAuth token/secret pair: 1. Create the new account instance. 2. Set the account type. 3. Create an ACAccountCredential using your existing OAuth token/secret and set the account's credential property. 4. Save the account. The account will be validated and saved as a system account. API-Since: 6.0 Deprecated-Since: 15.0 Deprecated-Message: Use appropriate non-Apple SDK corresponding to the type of account you want to reference instead
    • Constructor Detail

      • ACAccountCredential

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
        Deprecated.
      • allocWithZone

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

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
        Deprecated.
      • 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.
      • 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.
      • superclass_static

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

        public static long version_static()
        Deprecated.
      • initWithOAuth2TokenRefreshTokenExpiryDate

        public ACAccountCredential initWithOAuth2TokenRefreshTokenExpiryDate​(java.lang.String token,
                                                                             java.lang.String refreshToken,
                                                                             NSDate expiryDate)
        Deprecated.
      • initWithOAuthTokenTokenSecret

        public ACAccountCredential initWithOAuthTokenTokenSecret​(java.lang.String token,
                                                                 java.lang.String secret)
        Deprecated.
      • oauthToken

        public java.lang.String oauthToken()
        Deprecated.
        This property is only valid for OAuth2 credentials
      • setOauthToken

        public void setOauthToken​(java.lang.String value)
        Deprecated.
        This property is only valid for OAuth2 credentials
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.