Class ASPasswordCredentialIdentity

  • All Implemented Interfaces:
    NSCoding, NSCopying, NSSecureCoding, NSObject

    public class ASPasswordCredentialIdentity
    extends NSObject
    implements NSCopying, NSSecureCoding
    ASPasswordCredentialIdentity An ASPasswordCredentialIdentity is used to describe an identity that can use a service upon successful password based authentication. Use this class to save entries into ASCredentialIdentityStore.
    • Constructor Detail

      • ASPasswordCredentialIdentity

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

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

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • copyWithZone

        public java.lang.Object copyWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • 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()
      • identityWithServiceIdentifierUserRecordIdentifier

        public static ASPasswordCredentialIdentity identityWithServiceIdentifierUserRecordIdentifier​(ASCredentialServiceIdentifier serviceIdentifier,
                                                                                                     java.lang.String user,
                                                                                                     java.lang.String recordIdentifier)
        Creates and initializes an instance of ASPasswordCredentialIdentity.
        Parameters:
        serviceIdentifier - the service identifier for which this credential identity is valid.
        user - the user that can authenticate into the service indicated by the serviceIdentifier.
        recordIdentifier - an optional string to uniquely identify this record in your local database.
      • initWithServiceIdentifierUserRecordIdentifier

        public ASPasswordCredentialIdentity initWithServiceIdentifierUserRecordIdentifier​(ASCredentialServiceIdentifier serviceIdentifier,
                                                                                          java.lang.String user,
                                                                                          java.lang.String recordIdentifier)
        Initializes an instance of ASPasswordCredentialIdentity.
        Parameters:
        serviceIdentifier - the service identifier for which this credential identity is valid.
        user - the user that can authenticate into the service indicated by the serviceIdentifier.
        recordIdentifier - an optional string to uniquely identify this record in your local database.
      • 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

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • rank

        public long rank()
        Get or set the rank of the credential identity object. The system may utilize the rank to decide which credential identity precedes the other if two identities have the same service identifier. A credential identity with a larger rank value precedes one with a smaller value if both credential identities have the same service identifier. The default value of this property is 0.
      • recordIdentifier

        public java.lang.String recordIdentifier()
        Get the record identifier. You can utilize the record identifier to uniquely identify the credential identity in your local database.
        Returns:
        The record identifier.
      • resolveClassMethod

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

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

        public ASCredentialServiceIdentifier serviceIdentifier()
        Get the service identifier.
        Returns:
        The service identifier for this credential identity.
      • setRank

        public void setRank​(long value)
        Get or set the rank of the credential identity object. The system may utilize the rank to decide which credential identity precedes the other if two identities have the same service identifier. A credential identity with a larger rank value precedes one with a smaller value if both credential identities have the same service identifier. The default value of this property is 0.
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

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

        public static boolean supportsSecureCoding()
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.
        Specified by:
        _supportsSecureCoding in interface NSSecureCoding
      • user

        public java.lang.String user()
        Get the user.
        Returns:
        The user string.
      • version_static

        public static long version_static()