Packagecom.distriqt.extension.applesignin
Classpublic final class AppleSignIn
InheritanceAppleSignIn Inheritance flash.events.EventDispatcher

This class represents the AppleSignIn extension.



Public Properties
 PropertyDefined By
  implementation : String
[read-only] The implementation currently in use.
AppleSignIn
  instance : AppleSignIn
[static] [read-only] The singleton instance of the AppleSignIn class.
AppleSignIn
  isSupported : Boolean
[static] [read-only] Whether the current device supports the extensions functionality
AppleSignIn
  nativeVersion : String
[read-only] The native version string of the native extension.
AppleSignIn
  service : AppleSignIn
[static] [read-only] The singleton instance of the AppleSignIn class.
AppleSignIn
  version : String
[read-only] The version of this extension.
AppleSignIn
Public Methods
 MethodDefined By
  
Constructor You should not call this directly, but instead use the singleton access
AppleSignIn
  
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
[override]
AppleSignIn
  
dispose():void
Disposes the extension and releases any allocated resources.
AppleSignIn
  
getCredentialStateForUser(userId:String):void
AppleSignIn
  
AppleSignIn
Public Constants
 ConstantDefined By
  EXT_CONTEXT_ID : String = com.distriqt.AppleSignIn
[static]
AppleSignIn
  VERSION : String = 2.3.0
[static]
AppleSignIn
Property Detail
implementationproperty
implementation:String  [read-only]

The implementation currently in use. This should be one of the following depending on the platform in use and the functionality supported by this extension:


Implementation
    public function get implementation():String
instanceproperty 
instance:AppleSignIn  [read-only]

The singleton instance of the AppleSignIn class.


Implementation
    public static function get instance():AppleSignIn

Throws
Error — If there was a problem creating or accessing the extension, or if the key is invalid
isSupportedproperty 
isSupported:Boolean  [read-only]

Whether the current device supports the extensions functionality


Implementation
    public static function get isSupported():Boolean
nativeVersionproperty 
nativeVersion:String  [read-only]

The native version string of the native extension.


Implementation
    public function get nativeVersion():String
serviceproperty 
service:AppleSignIn  [read-only]

The singleton instance of the AppleSignIn class.


Implementation
    public static function get service():AppleSignIn

Throws
Error — If there was a problem creating or accessing the extension, or if the key is invalid
versionproperty 
version:String  [read-only]

The version of this extension.

This should be of the format, MAJOR.MINOR.BUILD


Implementation
    public function get version():String
Constructor Detail
AppleSignIn()Constructor
public function AppleSignIn()

Constructor You should not call this directly, but instead use the singleton access

Method Detail
addEventListener()method
override public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)
 
priority:int (default = 0)
 
useWeakReference:Boolean (default = false)

dispose()method 
public function dispose():void

Disposes the extension and releases any allocated resources. Once this function has been called, a call to init is neccesary again before any of the extensions functionality will work.

getCredentialStateForUser()method 
public function getCredentialStateForUser(userId:String):void

Parameters

userId:String — Opaque user identifier that will be checked for state

loginWithAppleId()method 
public function loginWithAppleId(options:AppleSignInOptions = null):void

Parameters

options:AppleSignInOptions (default = null)

Constant Detail
EXT_CONTEXT_IDConstant
public static const EXT_CONTEXT_ID:String = com.distriqt.AppleSignIn

VERSIONConstant 
public static const VERSION:String = 2.3.0